We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent dba731b commit 44ed28fCopy full SHA for 44ed28f
README.md
@@ -39,7 +39,7 @@ $ eslint "**/*.ts"
39
40
### Override rules
41
42
-`.eslintrc.json`:
+`.eslintrc.json` or `.eslintrc.js`:
43
44
```json5
45
{
@@ -49,3 +49,16 @@ $ eslint "**/*.ts"
49
}
50
51
```
52
+
53
+### Optional
54
55
+### import/no-deprecated by default "off"
56
57
+```json
58
+{
59
+ "extends": "@angular-ru/eslint-config",
60
+ "rules": {
61
+ "import/no-deprecated": "error"
62
+ }
63
+}
64
+```
index.js
@@ -69,7 +69,6 @@ module.exports = {
69
'no-return-assign': ['error', 'always'],
70
'max-params': ['error', 3],
71
'no-nested-ternary': 'error',
72
- 'import/no-deprecated': 'error',
73
'no-magic-numbers': 'off',
74
'@typescript-eslint/no-magic-numbers': [
75
'error',
0 commit comments