]> git.r.bdr.sh - rbdr/forum/blame_incremental - .eslintrc.cjs
Apply formatting
[rbdr/forum] / .eslintrc.cjs
... / ...
CommitLineData
1module.exports = {
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 }
20};