@favorodera/eslint-config 0.0.16 → 0.0.18
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/dist/index.mjs +8 -7
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -207,7 +207,12 @@ async function javascript(options) {
|
|
|
207
207
|
"no-array-constructor": "error",
|
|
208
208
|
"no-caller": "error",
|
|
209
209
|
"no-console": ["error", { allow: ["warn", "error"] }],
|
|
210
|
+
"no-constructor-return": "error",
|
|
211
|
+
"no-continue": "error",
|
|
212
|
+
"no-duplicate-imports": ["error", { includeExports: true }],
|
|
213
|
+
"no-else-return": "error",
|
|
210
214
|
"no-empty": ["error", { allowEmptyCatch: true }],
|
|
215
|
+
"no-eq-null": "error",
|
|
211
216
|
"no-eval": "error",
|
|
212
217
|
"no-extend-native": "error",
|
|
213
218
|
"no-extra-bind": "error",
|
|
@@ -217,12 +222,6 @@ async function javascript(options) {
|
|
|
217
222
|
allowLoop: false,
|
|
218
223
|
allowSwitch: false
|
|
219
224
|
}],
|
|
220
|
-
"no-await-in-loop": "error",
|
|
221
|
-
"no-constructor-return": "error",
|
|
222
|
-
"no-continue": "error",
|
|
223
|
-
"no-duplicate-imports": ["error", { includeExports: true }],
|
|
224
|
-
"no-else-return": "error",
|
|
225
|
-
"no-eq-null": "error",
|
|
226
225
|
"no-lone-blocks": "error",
|
|
227
226
|
"no-loop-func": "error",
|
|
228
227
|
"no-multi-str": "error",
|
|
@@ -742,6 +741,7 @@ async function node(options) {
|
|
|
742
741
|
"node/prefer-node-protocol": "error",
|
|
743
742
|
"node/prefer-promises/dns": "error",
|
|
744
743
|
"node/prefer-promises/fs": "error",
|
|
744
|
+
"node/no-process-exit": "off",
|
|
745
745
|
...resolved.overrides
|
|
746
746
|
}
|
|
747
747
|
},
|
|
@@ -1108,7 +1108,8 @@ async function unicorn(options) {
|
|
|
1108
1108
|
rules: {
|
|
1109
1109
|
...baseRules,
|
|
1110
1110
|
"unicorn/filename-case": "off",
|
|
1111
|
-
"unicorn/prevent-abbreviations":
|
|
1111
|
+
"unicorn/prevent-abbreviations": "off",
|
|
1112
|
+
"unicorn/no-process-exit": "off",
|
|
1112
1113
|
...resolved.overrides
|
|
1113
1114
|
}
|
|
1114
1115
|
}];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@favorodera/eslint-config",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.18",
|
|
5
5
|
"private": false,
|
|
6
6
|
"description": "Opinionated, type-safe flat ESLint configuration factory for Vue, TypeScript, Tailwind, and more.",
|
|
7
7
|
"author": "Favour Emeka <favorodera@gmail.com>",
|