consoleapp-node/.eslintrc.json
2022-02-23 21:33:23 +01:00

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"]
}
}