forked from gojob-1337/eslint-config
-
Notifications
You must be signed in to change notification settings - Fork 0
/
typescript.js
28 lines (28 loc) · 1.08 KB
/
typescript.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
module.exports = {
extends: [
'eslint:recommended',
"plugin:@typescript-eslint/recommended",
"prettier",
"plugin:prettier/recommended"
],
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "simple-import-sort"],
rules: {
semi: ["error", "always"],
"prettier/prettier": ["error", { singleQuote: true }],
"@typescript-eslint/indent": "off",
"@typescript-eslint/explicit-function-return-type": "off",
"@typescript-eslint/explicit-member-accessibility": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/member-ordering": 2,
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-floating-promises": "warn",
"@typescript-eslint/no-non-null-assertion": "off",
"@typescript-eslint/no-parameter-properties": "off",
"@typescript-eslint/no-unused-vars": ["error", { argsIgnorePattern: "^_" }],
"@typescript-eslint/no-use-before-define": "off",
"@typescript-eslint/prefer-interface": "off",
"simple-import-sort/imports": "error",
"sort-imports": "off",
}
};