-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
51 lines (51 loc) · 1.31 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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
{
"extends": [
"canonical",
"canonical/typescript",
"canonical/json",
"canonical/module",
"canonical/regexp",
"canonical/typescript-type-checking",
"canonical/zod",
"canonical/browser",
"canonical/typescript",
"canonical/react",
"canonical/jsx-a11y",
"canonical/prettier"
],
"rules": {
"prettier/prettier": [
"error",
{
"singleQuote": false,
"semi": false,
"useTabs": true,
"trailingComma": "none",
"tabWidth": 2,
"jsxSingleQuote": false,
"bracketSpacing": true,
"printWidth": 80
}
],
"node/no-process-env": "off",
"import/extensions": "off",
"no-warning-comments": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-non-null-asserted-optional-chain": "off",
"react/jsx-sort-props": "off",
"@typescript-eslint/no-unused-vars": "error",
"canonical/destructuring-property-newline": "off",
"canonical/import-specifier-newline": "off",
"react/forbid-component-props": "off",
"canonical/filename-match-exported": "off",
"canonical/filename-match-regex": "off",
"canonical/id-match": "off",
"unicorn/no-abusive-eslint-disable": "off",
"eslint-comments/no-unlimited-disable": "off",
"unicorn/no-empty-file": "off"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"project": "./tsconfig.json"
}
}