vue-linters-config 0.4.1 → 0.4.3

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 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
- eslintPluginImportX.flatConfigs.recommended,
46
- eslintPluginSonar.configs.recommended,
47
- eslintPluginUnicorn.configs.recommended,
48
- eslintPluginImportX.flatConfigs.typescript,
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
- eslintPluginPrettierRecommended
54
+ pluginPrettierRecommended
55
55
  );
56
56
 
57
57
  ```
package/dist/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  function o(e, r) {
2
2
  return {
3
3
  files: ["**/*.vue"],
4
- languageOptions: { parser: e, parserOptions: { parser: r } }
4
+ languageOptions: {
5
+ parser: e,
6
+ parserOptions: { parser: r, project: !0, tsconfigRootDir: import.meta.dirname }
7
+ }
5
8
  };
6
9
  }
7
10
  function n(e) {
@@ -208,6 +211,8 @@ const t = {
208
211
  "import-x/order": "error",
209
212
  "sonarjs/no-hardcoded-passwords": "off",
210
213
  "sonarjs/no-duplicated-branches": "off",
214
+ "sonarjs/no-invariant-returns": "off",
215
+ "sonarjs/pseudo-random": "off",
211
216
  "unicorn/prevent-abbreviations": "off",
212
217
  "unicorn/no-null": "off",
213
218
  "unicorn/filename-case": ["error", { cases: { camelCase: !0, pascalCase: !0 } }],
@@ -217,6 +222,9 @@ const t = {
217
222
  "unicorn/numeric-separators-style": "off",
218
223
  "unicorn/no-array-reduce": "off",
219
224
  "unicorn/prefer-string-replace-all": "off",
225
+ "unicorn/no-document-cookie": "off",
226
+ "unicorn/consistent-function-scoping": "off",
227
+ "unicorn/no-array-reverse": "off",
220
228
  "@typescript-eslint/naming-convention": [
221
229
  "error",
222
230
  { selector: "variable", format: ["camelCase", "PascalCase", "UPPER_CASE", "snake_case"] },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue-linters-config",
3
- "version": "0.4.1",
3
+ "version": "0.4.3",
4
4
  "type": "module",
5
5
  "description": "Vue 3 linters config for eslint, prettier, stylelint",
6
6
  "author": "Aleksandr Dergunov <dergunovs@mail.ru>",