forked from chanind/hanzi-writer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc
27 lines (27 loc) · 856 Bytes
/
.eslintrc
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
{
"extends": ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"ignorePatterns": [
"dist/*",
"build/*",
"examples/*",
"babel.config.js",
"rollup.config.js",
"jest-setup.js"
],
"rules": {
"no-multi-spaces": "error",
"no-nested-ternary": "error",
"no-trailing-spaces": "error",
"no-irregular-whitespace": "error",
"no-param-reassign": "error",
"no-unused-vars": [2, { "vars": "all", "args": "none" }],
"comma-dangle": ["error", "always-multiline"],
// @typescript-eslint settings
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off"
}
}