@flarian/frontend-preset 1.6.0 → 1.6.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.
@@ -574,7 +574,15 @@ const esLintTypeScriptRules = {
574
574
  "@typescript-eslint/consistent-type-definitions": "off",
575
575
  "@typescript-eslint/no-shadow": "error",
576
576
  "@typescript-eslint/no-unused-vars": "off",
577
- "@typescript-eslint/no-namespace": "off"
577
+ "@typescript-eslint/no-namespace": "off",
578
+ "@typescript-eslint/consistent-type-imports": [
579
+ "error",
580
+ {
581
+ prefer: "type-imports",
582
+ disallowTypeAnnotations: false,
583
+ fixStyle: "inline-type-imports"
584
+ }
585
+ ]
578
586
  }
579
587
  };
580
588
 
@@ -565,7 +565,15 @@ const esLintTypeScriptRules = {
565
565
  "@typescript-eslint/consistent-type-definitions": "off",
566
566
  "@typescript-eslint/no-shadow": "error",
567
567
  "@typescript-eslint/no-unused-vars": "off",
568
- "@typescript-eslint/no-namespace": "off"
568
+ "@typescript-eslint/no-namespace": "off",
569
+ "@typescript-eslint/consistent-type-imports": [
570
+ "error",
571
+ {
572
+ prefer: "type-imports",
573
+ disallowTypeAnnotations: false,
574
+ fixStyle: "inline-type-imports"
575
+ }
576
+ ]
569
577
  }
570
578
  };
571
579
 
@@ -17,6 +17,7 @@ const esLintVueRules = {
17
17
  vue: pluginVue__default
18
18
  },
19
19
  rules: {
20
+ "vue/no-required-prop-with-default": "off",
20
21
  "vue/multi-word-component-names": "off",
21
22
  "vue/html-indent": [
22
23
  "warn",
@@ -10,6 +10,7 @@ const esLintVueRules = {
10
10
  vue: pluginVue
11
11
  },
12
12
  rules: {
13
+ "vue/no-required-prop-with-default": "off",
13
14
  "vue/multi-word-component-names": "off",
14
15
  "vue/html-indent": [
15
16
  "warn",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flarian/frontend-preset",
3
- "version": "1.6.0",
3
+ "version": "1.6.1",
4
4
  "license": "MIT",
5
5
  "description": "Frontend preset with ESLint 9 flat config and Stylelint",
6
6
  "author": "FlarianWeb",