marked/.eslintrc.json

34 lines
1.0 KiB
JSON
Raw Normal View History

{
"extends": ["standard", "plugin:@typescript-eslint/recommended"],
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"root": true,
"rules": {
2018-09-23 20:27:39 -04:00
"semi": ["error", "always"],
2019-04-25 13:40:32 -05:00
"indent": ["error", 2, {
2018-01-20 03:10:46 +01:00
"SwitchCase": 1,
2019-04-25 13:40:32 -05:00
"VariableDeclarator": { "var": 2 },
"outerIIFEBody": 0
2018-01-20 03:10:46 +01:00
}],
"operator-linebreak": ["error", "before", { "overrides": { "=": "after" } }],
2019-04-26 20:58:04 -05:00
"space-before-function-paren": ["error", "never"],
"no-cond-assign": "off",
"no-useless-escape": "off",
2018-01-26 04:57:18 +01:00
"one-var": "off",
"no-control-regex": "off",
2019-11-05 15:31:11 -06:00
"no-prototype-builtins": "off",
2020-04-02 00:23:29 -05:00
"no-extra-semi": "error",
2019-11-05 15:31:11 -06:00
"prefer-const": "error",
"no-var": "error",
"@typescript-eslint/ban-ts-comment": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-empty-function": "off",
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-unused-vars": ["error", { "args": "none" }]
},
"env": {
2019-11-05 15:31:11 -06:00
"node": true
}
}