-
Notifications
You must be signed in to change notification settings - Fork 0
/
typescript.js
22 lines (22 loc) · 735 Bytes
/
typescript.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
module.exports = {
extends: ["./javascript", "plugin:@typescript-eslint/recommended"],
rules: {
"no-shadow": "off",
"jsdoc/require-param-type": "off",
"jsdoc/require-property-type": "off",
"jsdoc/require-returns-type": "off",
"@typescript-eslint/consistent-type-definitions": "error",
"@typescript-eslint/explicit-module-boundary-types": "error",
"@typescript-eslint/no-explicit-any": "error",
"@typescript-eslint/no-non-null-assertion": "error",
"@typescript-eslint/no-shadow": "error",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/naming-convention": [
"error",
{
selector: "enumMember",
format: ["PascalCase"],
},
],
},
};