forked from emn178/chartjs-plugin-labels
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy path.eslintrc.json
More file actions
27 lines (27 loc) · 696 Bytes
/
Copy path.eslintrc.json
File metadata and controls
27 lines (27 loc) · 696 Bytes
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
{
"env": {
"browser": true,
"es2021": true
},
"extends": [
"eslint:recommended", "plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"root": true,
"parserOptions": {
"ecmaVersion": 12,
"sourceType": "module"
},
"rules": {
"eqeqeq": "error",
"indent": ["error", 2, { "SwitchCase": 1 }],
"no-undef": "warn",
"no-var": "error",
"object-shorthand": ["error", "properties"],
"prefer-const": "error",
"quotes": ["error", "single"],
"semi": "error"
},
"ignorePatterns": ["**/dist/*"]
}