forked from bradzacher/eslint-plugin-typescript
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc
34 lines (32 loc) · 931 Bytes
/
.eslintrc
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
31
32
33
34
{
"root": true,
"plugins": [
"node",
"prettier",
"eslint-plugin"
],
"extends": [
"eslint",
"plugin:node/recommended",
"prettier",
"plugin:eslint-plugin/recommended"
],
"rules": {
"new-cap": "off",
"lines-around-comment": "off",
"prettier/prettier": [
"error",
{
"tabWidth": 4
}
],
"eslint-plugin/prefer-placeholders": "error",
"eslint-plugin/prefer-replace-text": "error",
"eslint-plugin/no-deprecated-report-api": "error",
"eslint-plugin/report-message-format": ["error", "^[A-Z'{].*[\\.}]$"],
"eslint-plugin/no-deprecated-context-methods": "error",
"eslint-plugin/prefer-output-null": "error",
"eslint-plugin/test-case-shorthand-strings": "error",
"eslint-plugin/require-meta-type": "error"
}
}