mirror of
https://github.com/Bismuth-Forge/bismuth.git
synced 2024-08-17 04:10:45 +03:00
39 lines
873 B
JSON
39 lines
873 B
JSON
|
{
|
||
|
"root": true,
|
||
|
"ignorePatterns": ["/build"],
|
||
|
"env": {
|
||
|
"es6": true
|
||
|
},
|
||
|
"parser": "@typescript-eslint/parser",
|
||
|
"parserOptions": {
|
||
|
"project": "tsconfig.json",
|
||
|
"sourceType": "module"
|
||
|
},
|
||
|
"extends": [
|
||
|
"eslint:recommended",
|
||
|
"plugin:@typescript-eslint/eslint-recommended",
|
||
|
"plugin:@typescript-eslint/recommended",
|
||
|
"plugin:@typescript-eslint/recommended-requiring-type-checking",
|
||
|
"prettier"
|
||
|
],
|
||
|
"plugins": [
|
||
|
"@typescript-eslint",
|
||
|
"eslint-plugin-jsdoc",
|
||
|
"eslint-plugin-prefer-arrow"
|
||
|
],
|
||
|
"rules": {
|
||
|
"curly": "error",
|
||
|
"@typescript-eslint/naming-convention": [
|
||
|
"error",
|
||
|
{
|
||
|
"selector": ["variable"],
|
||
|
"leadingUnderscore": "allow"
|
||
|
}
|
||
|
],
|
||
|
"@typescript-eslint/prefer-for-of": "off",
|
||
|
"one-var": "error",
|
||
|
"max-classes-per-file": "off",
|
||
|
"no-cond-assign": "error"
|
||
|
}
|
||
|
}
|