-
Notifications
You must be signed in to change notification settings - Fork 1
/
.eslintrc.js
32 lines (32 loc) · 871 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
module.exports = {
env: {
browser: true,
es6: true,
},
extends: ['plugin:react/recommended', 'airbnb', 'plugin:@typescript-eslint/recommended', 'prettier/@typescript-eslint', 'plugin:prettier/recommended'],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: ['react', 'react-hooks', '@typescript-eslint', 'prettier'],
rules: {
'linebreak-style': 0,
'react/prop-types': 0,
'react/jsx-filename-extension': 0,
'import/extensions': 0,
'import/no-unresolved': 0,
camelcase: 0,
'prettier/prettier': 0,
'no-use-before-define': 0,
'import/prefer-default-export': 0,
'jsx-a11y/click-events-have-key-events': 0,
'jsx-a11y/no-static-element-interactions': 0,
},
};