forked from RocketChat/EmbeddedChat
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
36 lines (36 loc) · 1.13 KB
/
.eslintrc.json
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
36
{
"parser": "@babel/eslint-parser",
"env": {
"browser": true,
"es6": true
},
"extends": ["airbnb", "plugin:react/recommended", "prettier"],
"plugins": ["react", "prettier"],
"rules": {
"prettier/prettier": "error",
"no-unused-vars": "warn",
"no-console": "off",
"no-underscore-dangle": "off",
"no-unused-expressions": "off",
"react/function-component-definition": "off",
"react/require-default-props": "off",
"react/jsx-filename-extension": [1, { "extensions": [".js", ".jsx"] }],
"arrow-body-style": ["error", "as-needed"],
"import/prefer-default-export": "off",
"camelcase": "off",
"no-param-reassign": "off",
"class-methods-use-this": "off",
"consistent-return": "off",
"react/forbid-prop-types": "off",
"react/no-array-index-key": "off",
"jsx-a11y/media-has-caption": "off",
"jsx-a11y/alt-text": "off",
"no-nested-ternary": "off",
"no-undef": "error",
"no-restricted-exports": "off",
"react/destructuring-assignment": "off",
"react/jsx-no-useless-fragment": "off",
"react/jsx-props-no-spreading": "off",
"import/no-cycle": 0
}
}