generated from Joaqim/tslib-esbuild
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
30 lines (30 loc) · 854 Bytes
/
.eslintrc.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
29
30
module.exports = {
root: true,
parser: "@typescript-eslint/parser",
plugins: ["@typescript-eslint", "prettier"],
extends: ["@programic/eslint-config-typescript", "prettier"],
rules: {
"max-classes-per-file": "warn",
"padding-line-between-statements": "warn",
"spaced-comment": "warn",
"lines-between-class-members": "warn",
"class-methods-use-this": "warn",
"no-bitwise": "off",
"no-param-reassign": "off",
"id-length": "off",
"prefer-const": "error",
"no-const-assign": "error",
camelcase: 0,
quotes: "off",
"@typescript-eslint/quotes": [
"warn",
"double",
{
allowTemplateLiterals: true,
},
],
"prettier/prettier": ["error"],
"import/prefer-default-export": "off", // Allow single Named-export
"unicorn/prevent-abbreviations": "warn",
},
};