-
Notifications
You must be signed in to change notification settings - Fork 33
Expand file tree
/
Copy path.eslintrc.js
More file actions
35 lines (34 loc) · 924 Bytes
/
.eslintrc.js
File metadata and controls
35 lines (34 loc) · 924 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
33
34
35
/** @type {import('eslint').Linter.BaseConfig} */
module.exports = {
root: true,
parserOptions: {
ecmaVersion: 'latest',
},
plugins: ['prettier'],
extends: [
'airbnb-base',
'prettier',
'plugin:jest/recommended',
'@blueprintjs/eslint-config',
'plugin:prettier/recommended',
],
rules: {
curly: ['warn', 'all'],
'header/header': 'off',
'import/no-mutable-exports': 'off',
'import/order': 'off',
'import/prefer-default-export': 'off',
'jest/expect-expect': ['warn', { assertFunctionNames: ['expect*'] }],
'jsx-a11y/anchor-is-valid': 'off',
'jsx-a11y/click-events-have-key-events': 'off',
'no-console': 'warn',
'no-return-await': 'off',
'no-underscore-dangle': 'off',
'object-curly-spacing': 'error',
'prettier/prettier': 'warn',
radix: 'off',
'sort-imports': 'off',
// TODO remove these:
'no-unused-vars': 'off',
},
};