]> git.r.bdr.sh - rbdr/forum/blame - .eslintrc.cjs
Don't remember what this WIP was about
[rbdr/forum] / .eslintrc.cjs
CommitLineData
58f7d521 1module.exports = {
a7cf03c1
RBR
2 root: true,
3 parser: '@typescript-eslint/parser',
4 extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier'],
5 plugins: ['svelte3', '@typescript-eslint'],
6 ignorePatterns: ['*.cjs'],
7 overrides: [{ files: ['*.svelte'], processor: 'svelte3/svelte3' }],
8 settings: {
9 'svelte3/typescript': () => require('typescript')
10 },
11 parserOptions: {
12 sourceType: 'module',
13 ecmaVersion: 2020
14 },
15 env: {
16 browser: true,
17 es2017: true,
18 node: true
19 }
58f7d521 20};