mirror of
https://code.forgejo.org/actions/git-backporting.git
synced 2025-02-22 10:35:43 -05:00
51 lines
No EOL
992 B
Text
51 lines
No EOL
992 B
Text
{
|
|
"root": true,
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"plugin:@typescript-eslint/eslint-recommended",
|
|
"plugin:@typescript-eslint/recommended"
|
|
],
|
|
"rules": {
|
|
"quotes": [
|
|
"error",
|
|
"double"
|
|
],
|
|
"semi": "off",
|
|
"@typescript-eslint/semi": [
|
|
"error",
|
|
"always"
|
|
],
|
|
"@typescript-eslint/no-explicit-any": [
|
|
"error",
|
|
{
|
|
"fixToUnknown": true
|
|
}
|
|
],
|
|
"curly": "error",
|
|
"no-empty": "error",
|
|
"no-console": "error",
|
|
"no-alert": "error",
|
|
"@typescript-eslint/no-non-null-assertion": "off",
|
|
"no-unused-vars": "off",
|
|
"@typescript-eslint/no-unused-vars": [
|
|
"warn",
|
|
{
|
|
"varsIgnorePattern": "^_",
|
|
"argsIgnorePattern": "^_"
|
|
}
|
|
],
|
|
"no-fallthrough": "off",
|
|
"arrow-parens": [
|
|
"error",
|
|
"as-needed"
|
|
]
|
|
},
|
|
"env": {
|
|
"node": true,
|
|
"es2020": true
|
|
}
|
|
} |