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.
39 lines
1.0 KiB
39 lines
1.0 KiB
{
|
|
"env": {
|
|
"browser": false,
|
|
"es2020": true,
|
|
"node": true
|
|
},
|
|
"ignorePatterns": ["dist/"],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/strict",
|
|
"prettier"
|
|
],
|
|
"parser": "@typescript-eslint/parser",
|
|
"parserOptions": {
|
|
"ecmaVersion": "latest",
|
|
"sourceType": "module",
|
|
"project": "./tsconfig.json"
|
|
},
|
|
"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",
|
|
"comma-dangle": ["error", "never"]
|
|
}
|
|
}
|