vue-linters-config 0.4.1 → 0.4.2
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/README.md +5 -5
- package/dist/index.js +5 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -42,16 +42,16 @@ export default tseslint.config(
|
|
|
42
42
|
js.configs.recommended,
|
|
43
43
|
...tseslint.configs.recommended,
|
|
44
44
|
...pluginVue.configs['flat/strongly-recommended'],
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
45
|
+
pluginImportX.flatConfigs.recommended,
|
|
46
|
+
pluginSonar.configs.recommended,
|
|
47
|
+
pluginUnicorn.configs.recommended,
|
|
48
|
+
pluginImportX.flatConfigs.typescript,
|
|
49
49
|
|
|
50
50
|
ignores,
|
|
51
51
|
parser(vueParser, tseslint.parser),
|
|
52
52
|
{ ...options(globals), ...settings, ...rules },
|
|
53
53
|
|
|
54
|
-
|
|
54
|
+
pluginPrettierRecommended
|
|
55
55
|
);
|
|
56
56
|
|
|
57
57
|
```
|
package/dist/index.js
CHANGED
|
@@ -208,6 +208,8 @@ const t = {
|
|
|
208
208
|
"import-x/order": "error",
|
|
209
209
|
"sonarjs/no-hardcoded-passwords": "off",
|
|
210
210
|
"sonarjs/no-duplicated-branches": "off",
|
|
211
|
+
"sonarjs/no-invariant-returns": "off",
|
|
212
|
+
"sonarjs/pseudo-random": "off",
|
|
211
213
|
"unicorn/prevent-abbreviations": "off",
|
|
212
214
|
"unicorn/no-null": "off",
|
|
213
215
|
"unicorn/filename-case": ["error", { cases: { camelCase: !0, pascalCase: !0 } }],
|
|
@@ -217,6 +219,9 @@ const t = {
|
|
|
217
219
|
"unicorn/numeric-separators-style": "off",
|
|
218
220
|
"unicorn/no-array-reduce": "off",
|
|
219
221
|
"unicorn/prefer-string-replace-all": "off",
|
|
222
|
+
"unicorn/no-document-cookie": "off",
|
|
223
|
+
"unicorn/consistent-function-scoping": "off",
|
|
224
|
+
"unicorn/no-array-reverse": "off",
|
|
220
225
|
"@typescript-eslint/naming-convention": [
|
|
221
226
|
"error",
|
|
222
227
|
{ selector: "variable", format: ["camelCase", "PascalCase", "UPPER_CASE", "snake_case"] },
|