-
Notifications
You must be signed in to change notification settings - Fork 30
/
.eslintrc.js
36 lines (36 loc) · 1.15 KB
/
.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
33
34
35
36
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaFeatures: {
jsx: true
},
ecmaVersion: 2018,
sourceType: "module",
project: ["./packages/*/tsconfig.json"]
},
plugins: ["@typescript-eslint"],
extends: [
"airbnb-typescript",
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
rules: {
"linebreak-style": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/quotes": "off",
"@typescript-eslint/indent": "off",
"import/prefer-default-export": "off",
"react/jsx-props-no-spreading": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"react/destructuring-assignment": "off",
"react/jsx-indent": "off",
"@typescript-eslint/ban-ts-comment": "warn",
"react/jsx-indent-props": "off",
"@typescript-eslint/comma-dangle": ["error", "never"],
"operator-linebreak": "off",
"object-curly-newline": "off",
"react/prop-types": "off",
"arrow-body-style": "off"
}
};