@alexlit/config-eslint 150.0.0 → 150.0.1
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/package.json +1 -1
- package/plugins/unicorn.js +2 -2
package/package.json
CHANGED
package/plugins/unicorn.js
CHANGED
|
@@ -20,7 +20,7 @@ export const unicorn = defineConfig([
|
|
|
20
20
|
'unicorn/no-empty-file': 'off',
|
|
21
21
|
'unicorn/no-for-each': 'off',
|
|
22
22
|
'unicorn/no-this-outside-of-class': 'off', // used in setters/getters
|
|
23
|
-
|
|
23
|
+
'unicorn/no-top-level-side-effects': 'off', // Vue.js specific
|
|
24
24
|
'unicorn/no-unused-properties': 'off', // don't respect local keys
|
|
25
25
|
'unicorn/prefer-dom-node-html-methods': 'off', // Safari not supports setHTML()
|
|
26
26
|
'unicorn/prefer-export-from': ['error', { checkUsedVariables: true }],
|
|
@@ -37,7 +37,7 @@ export const unicorn = defineConfig([
|
|
|
37
37
|
{ files: ['.*'], rules: { 'unicorn/no-null': 'off' } },
|
|
38
38
|
{ files: ['*.d.ts'], rules: { 'unicorn/prefer-export-from': 'off' } },
|
|
39
39
|
{
|
|
40
|
-
files: ['**/*.{api,endpoints,fixtures,schemas,service,test
|
|
40
|
+
files: ['**/*.{api,endpoints,fixtures,schemas,service,spec,test}.{js,ts}'],
|
|
41
41
|
rules: {
|
|
42
42
|
'unicorn/max-nested-calls': 'off',
|
|
43
43
|
'unicorn/no-keyword-prefix': 'off',
|