@labeg/code-style 4.0.4 → 4.0.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.eslintrc.js +3 -2
- package/package.json +1 -1
package/.eslintrc.js
CHANGED
|
@@ -77,8 +77,7 @@ module.exports = {
|
|
|
77
77
|
},
|
|
78
78
|
ignorePatterns: ["node_modules/*"],
|
|
79
79
|
rules: {
|
|
80
|
-
...jsAndTsRules
|
|
81
|
-
"no-duplicate-imports": "off", // Bug, conflict between TS import and import type
|
|
80
|
+
...jsAndTsRules
|
|
82
81
|
},
|
|
83
82
|
overrides: [
|
|
84
83
|
{
|
|
@@ -115,6 +114,8 @@ module.exports = {
|
|
|
115
114
|
],
|
|
116
115
|
rules: {
|
|
117
116
|
...jsAndTsRules,
|
|
117
|
+
"no-duplicate-imports": "off", // Bug, conflict between TS import and import type
|
|
118
|
+
|
|
118
119
|
"@typescript-eslint/no-inferrable-types": "off", // Need for reflection
|
|
119
120
|
"@typescript-eslint/no-magic-numbers": "off",
|
|
120
121
|
"@typescript-eslint/prefer-readonly-parameter-types": "off", // Wrong immutable undestand
|