-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
30 lines (29 loc) · 860 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
/* eslint-disable */
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaFeatures: { jsx: true },
},
settings: {
react: {
version: "detect",
},
},
extends: [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:react/recommended",
"plugin:prettier/recommended",
],
rules: {
// Include .prettierrc.js rules
"prettier/prettier": ["error", {}, { usePrettierrc: true }],
"react/react-in-jsx-scope": "off",
"react/prop-types": "off",
"react/jsx-no-target-blank": ["error", { "allowReferrer": true }],
"@typescript-eslint/no-explicit-any": "off", // TODO: turn this on in future
"@typescript-eslint/explicit-module-boundary-types": "off" // TODO: turn this on in future
},
};