@cabloy/lint 5.0.4 → 5.0.6
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/common/rules.js +4 -2
- package/package.json +1 -1
package/common/rules.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
export const rules = {
|
|
2
|
+
'jsdoc/check-alignment': 'off',
|
|
2
3
|
'no-extend-native': ['error', { exceptions: ['Set'] }],
|
|
3
4
|
'no-new-func': 'off',
|
|
4
5
|
'regexp/no-super-linear-backtracking': 'off',
|
|
@@ -61,8 +62,8 @@ export const rules = {
|
|
|
61
62
|
'newline-per-chained-call': [0],
|
|
62
63
|
'prefer-rest-params': 'off',
|
|
63
64
|
// 'no-setter-return': 'off', // no effect for typescript check
|
|
64
|
-
'
|
|
65
|
-
'
|
|
65
|
+
'@typescript-eslint/method-signature-style': 'off',
|
|
66
|
+
'@typescript-eslint/no-redeclare': 'off',
|
|
66
67
|
'@typescript-eslint/consistent-type-imports': ['error', { fixStyle: 'separate-type-imports', prefer: 'type-imports' }],
|
|
67
68
|
'@typescript-eslint/explicit-function-return-type': 'off',
|
|
68
69
|
'@typescript-eslint/no-namespace': 'off',
|
|
@@ -136,4 +137,5 @@ export const rules = {
|
|
|
136
137
|
flatTernaryExpressions: true,
|
|
137
138
|
offsetTernaryExpressions: true,
|
|
138
139
|
}],
|
|
140
|
+
'@stylistic/jsx-closing-tag-location': 'off',
|
|
139
141
|
};
|