-
Notifications
You must be signed in to change notification settings - Fork 2
/
.eslintrc.js
56 lines (55 loc) · 1.31 KB
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
module.exports = {
extends: 'airbnb-base',
parserOptions: {
ecmaVersion: 2019,
sourceType: 'module',
},
env: {
es6: true,
browser: true,
},
plugins: ['svelte3'],
rules: {
'no-var': 1,
'no-console': 0,
'no-unused-vars': [1, { args: 'none' }],
'prefer-const': 1,
'import/prefer-default-export': 0,
'comma-dangle': 0,
'max-len': 0,
'no-restricted-syntax': 0,
'prefer-template': 1,
quotes: 1,
'no-trailing-spaces': 1,
'no-alert': 0,
'no-underscore-dangle': 0,
'import/no-extraneous-dependencies': 0,
'object-curly-newline': 0,
'no-return-assign': 0,
'no-param-reassign': 0,
'implicit-arrow-linebreak': 0,
'operator-linebreak': 0,
'global-require': 0,
'no-multiple-empty-lines': 0,
'jsx-a11y/a11y-invalid-attribute': 0,
'guard-for-in': 0,
'no-await-in-loop': 0,
'a11y-invalid-attribute': 0
},
overrides: [
{
files: ['**/*.svelte'],
rules: {
'import/no-duplicates': 0,
'import/first': 0,
'import/no-mutable-exports': 0,
'import/no-unresolved': 0,
'import/no-extraneous-dependencies': 0,
'import/extensions': 0,
'no-unused-vars': 1,
'jsx-a11y/a11y-invalid-attribute': 0,
},
processor: 'svelte3/svelte3',
},
],
};