forked from itailv/awesome-todo-app
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
33 lines (33 loc) · 873 Bytes
/
.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
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
extends: [
'plugin:@typescript-eslint/recommended',
'plugin:react/recommended',
'plugin:jsx-a11y/recommended',
],
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
jsx: true
}
},
plugins: ['@typescript-eslint', 'react', 'jsx-a11y'],
settings: {
react: {
version: 'detect'
}
},
rules: {
'no-param-reassign': 'off',
'padded-blocks': 'off',
'import/prefer-default-export': 'off',
'react/jsx-props-no-spreading': 'off',
'react/prop-types': 'off', // i don't give a damn
'arrow-parens': ['error', 'as-needed', {
'requireForBlockBody': true
}],
semi: [2, "always"]
},
};