mirror of https://github.com/clickscodes/nucleus
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
49 lines
1.1 KiB
49 lines
1.1 KiB
|
3 years ago
|
{
|
||
|
|
"env": {
|
||
|
|
"browser": false,
|
||
|
|
"es2021": true
|
||
|
|
},
|
||
|
|
"ignorePatterns": ["dist/"],
|
||
|
|
"extends": [
|
||
|
|
"eslint:recommended",
|
||
|
|
"plugin:@typescript-eslint/recommended"
|
||
|
|
],
|
||
|
|
"parser": "@typescript-eslint/parser",
|
||
|
|
"parserOptions": {
|
||
|
|
"ecmaVersion": "latest",
|
||
|
|
"sourceType": "module"
|
||
|
|
},
|
||
|
|
"plugins": [
|
||
|
|
"@typescript-eslint"
|
||
|
|
],
|
||
|
|
"rules": {
|
||
|
|
"indent": [
|
||
|
|
"error",
|
||
|
|
4
|
||
|
|
],
|
||
|
|
"linebreak-style": [
|
||
|
|
"error",
|
||
|
|
"unix"
|
||
|
|
],
|
||
|
|
"quotes": [
|
||
|
|
"error",
|
||
|
|
"double"
|
||
|
|
],
|
||
|
|
"semi": [
|
||
|
|
"error",
|
||
|
|
"always"
|
||
|
|
],
|
||
|
|
"no-unused-vars": "off",
|
||
|
|
"@typescript-eslint/no-unused-vars": [
|
||
|
|
"warn",
|
||
|
|
{
|
||
|
|
"argsIgnorePattern": "^_",
|
||
|
|
"varsIgnorePattern": "^_",
|
||
|
|
"caughtErrorsIgnorePattern": "^_"
|
||
|
|
}
|
||
|
|
],
|
||
|
|
"no-trailing-spaces": "error",
|
||
|
|
"@typescript-eslint/no-explicit-any": "error"
|
||
|
|
}
|
||
|
|
}
|