-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
32 lines (32 loc) · 892 Bytes
/
Copy path.eslintrc.js
File metadata and controls
32 lines (32 loc) · 892 Bytes
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
module.exports = {
extends: [
'airbnb-base',
'prettier'
],
rules: {
'prettier/prettier': ['error'],
'no-restricted-syntax': ['off'],
'no-use-before-define': ['error', { 'functions': false, 'classes': true }],
'no-param-reassign': ['error', { 'props': false }],
'no-plusplus': ['off'],
'class-methods-use-this': ['off'],
'radix': ['error', 'as-needed'],
'prefer-destructuring': ['off'],
'import/no-extraneous-dependencies': ['error', { 'devDependencies': true, 'optionalDependencies': false }],
'no-console': ['error', { allow: ['warn', 'error'] }],
'no-continue': ['off'],
'jsx-a11y/no-static-element-interactions': ['off'], // TODO: Consider
'arrow-parens': ['off']
},
parserOptions: {
ecmaVersion: 2020,
sourceType: 'module'
},
plugins: [
'prettier',
],
env: {
mocha: true,
node: true
}
};