forked from Tominous/minecraft.js-1
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
42 lines (42 loc) · 1.06 KB
/
.eslintrc
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
37
38
39
40
41
42
{
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"allowImportExportEverywhere": false,
"codeFrame": false
},
"extends": ["airbnb", "prettier"],
"plugins": ["react-hooks"],
"env": {
"browser": true,
"jest": true
},
"rules": {
"import/order": [
2,
{ "groups": ["parent", "sibling"], "newlines-between": "always" }
],
"prefer-promise-reject-errors": "off",
"react/jsx-filename-extension": "off",
"react/forbid-prop-types": "off",
"import/prefer-default-export": "off",
"no-plusplus": "off",
"react/prop-types": "off",
"no-return-assign": "off",
"no-nested-ternary": "off",
"no-param-reassign": "off",
"no-continue": "off",
"func-names": "off",
"no-bitwise": "off",
"consistent-return": "off",
"import/no-webpack-loader-syntax": "off",
"no-restricted-globals": "off",
"react-hooks/rules-of-hooks": "error",
"react-hooks/exhaustive-deps": "warn"
},
"settings": {
"import/resolver": {
"alias": [["core", "./core"]]
}
}
}