25 lines
645 B
JSON
25 lines
645 B
JSON
{
|
|
"parser": "@typescript-eslint/parser",
|
|
"plugins": [
|
|
"@typescript-eslint"
|
|
],
|
|
"rules": {
|
|
|
|
"@typescript-eslint/indent": ["error", 2, {
|
|
"ignoredNodes": [
|
|
"FunctionExpression > .params[decorators.length > 0]",
|
|
"FunctionExpression > .params > :matches(Decorator, :not(:first-child))",
|
|
"ClassBody.body > PropertyDefinition[decorators.length > 0] > .key"
|
|
]
|
|
}],
|
|
|
|
"brace-style": ["error", "stroustrup", { "allowSingleLine": true }],
|
|
|
|
"semi": ["error", "never"],
|
|
"@typescript-eslint/semi": ["off"],
|
|
|
|
"no-unexpected-multiline": "error",
|
|
"eol-last": ["error", "always"]
|
|
}
|
|
}
|