-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.json
29 lines (29 loc) · 743 Bytes
/
.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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended",
"plugin:react/recommended",
"plugin:react/jsx-runtime",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"overrides": [],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"ignorePatterns": ["dist/", "temp.js", "**/vendor/*.js"],
"plugins": ["react", "@typescript-eslint"],
"rules": {
"no-console": "error",
"quotes": ["error", "backtick"],
"semi": ["error", "always"],
"object-curly-spacing": ["error", "always"],
"no-duplicate-imports": "error",
"sort-imports": ["error", { "ignoreDeclarationSort": true }]
}
}