forked from reaviz/reagraph
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
29 lines (29 loc) · 825 Bytes
/
.eslintrc.cjs
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
module.exports = {
'env': {
'browser': true,
'es2021': true
},
'extends': ["eslint:recommended", "plugin:react/recommended", "prettier", "plugin:react-hooks/recommended", "plugin:storybook/recommended"],
'parser': '@typescript-eslint/parser',
'parserOptions': {
'ecmaFeatures': {
'jsx': true
},
'ecmaVersion': 12,
'sourceType': 'module'
},
'plugins': ['react', '@typescript-eslint'],
'rules': {
'no-prototype-builtins': 'off',
'no-unused-vars': [0],
'indent': ['error', 2],
'arrow-parens': ['error', 'as-needed'],
'react/display-name': [0],
'react/prop-types': [0],
'react/no-children-prop': [0],
'linebreak-style': ['error', 'unix'],
'quotes': ['error', 'single'],
'semi': ['error', 'always'],
'react/no-unknown-property': [0]
}
};