mirror of https://github.com/ghostfolio/ghostfolio
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.
40 lines
797 B
40 lines
797 B
{
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
"arrow-parens": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"prefer-const": "error",
|
|
"no-eval": "error",
|
|
"no-trailing-spaces": "error",
|
|
"no-var": "error",
|
|
"quotes": [
|
|
"error",
|
|
"single",
|
|
{
|
|
"allowTemplateLiterals": true
|
|
}
|
|
],
|
|
"semi": "error",
|
|
"comma-dangle": [
|
|
"error",
|
|
"always-multiline"
|
|
],
|
|
"eqeqeq": "error",
|
|
"no-useless-escape": "off",
|
|
"@typescript-eslint/indent": [
|
|
"error",
|
|
2
|
|
],
|
|
"@typescript-eslint/no-inferrable-types": "off",
|
|
"@typescript-eslint/no-unused-vars": "error"
|
|
}
|
|
}
|