@ntnyq/eslint-config 3.12.1 → 3.12.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/dist/index.cjs CHANGED
@@ -2194,9 +2194,13 @@ var markdown = (options = {}) => {
2194
2194
  /**
2195
2195
  * other extensions
2196
2196
  */
2197
- extensions = []
2197
+ extensions = [],
2198
+ /**
2199
+ * disbale type aware linting
2200
+ */
2201
+ disableTypeAwareLinting = false
2198
2202
  } = options;
2199
- return [
2203
+ const configs2 = [
2200
2204
  /**
2201
2205
  * extracting code blocks to be linted individually
2202
2206
  */
@@ -2264,6 +2268,14 @@ var markdown = (options = {}) => {
2264
2268
  }
2265
2269
  }
2266
2270
  ];
2271
+ if (disableTypeAwareLinting) {
2272
+ configs2.push({
2273
+ ...import_typescript_eslint3.configs.disableTypeChecked,
2274
+ name: "ntnyq/markdown/disable/type-aware",
2275
+ files: [GLOB_MARKDOWN_CODE]
2276
+ });
2277
+ }
2278
+ return configs2;
2267
2279
  };
2268
2280
 
2269
2281
  // src/configs/prettier.ts
@@ -2619,6 +2631,7 @@ var typeAwareRules = {
2619
2631
  "@typescript-eslint/no-implied-eval": "error",
2620
2632
  "@typescript-eslint/only-throw-error": "error",
2621
2633
  "@typescript-eslint/no-unsafe-return": "error",
2634
+ "@typescript-eslint/no-misused-spread": "error",
2622
2635
  "@typescript-eslint/no-unsafe-argument": "error",
2623
2636
  "@typescript-eslint/no-misused-promises": "error",
2624
2637
  "@typescript-eslint/no-unsafe-assignment": "error",
@@ -2843,23 +2856,21 @@ var githubAction = (options = {}) => {
2843
2856
  const {
2844
2857
  // Support common overrides rules
2845
2858
  overrides: overridesRules = {},
2846
- // Flat config options
2859
+ // Config options
2847
2860
  ...restOptions
2848
2861
  } = options;
2849
- const recommendedConfig = (0, import_eslint_plugin_github_action2.createRecommendedConfig)({
2850
- name: "ntnyq/github-action",
2851
- files: [GLOB_GITHUB_ACTION],
2852
- ...restOptions
2853
- });
2854
2862
  return [
2855
- {
2856
- ...recommendedConfig,
2863
+ (0, import_eslint_plugin_github_action2.createConfig)({
2864
+ name: "ntnyq/github-action",
2865
+ files: [GLOB_GITHUB_ACTION],
2857
2866
  rules: {
2858
- ...recommendedConfig.rules,
2859
- // Overrides rules
2867
+ "github-action/no-invalid-key": "error",
2868
+ "github-action/prefer-file-extension": "error",
2869
+ "github-action/require-action-name": "error",
2860
2870
  ...overridesRules
2861
- }
2862
- }
2871
+ },
2872
+ ...restOptions
2873
+ })
2863
2874
  ];
2864
2875
  };
2865
2876
 
package/dist/index.d.cts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { FlatConfigComposer } from 'eslint-flat-config-utils';
2
2
  import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
3
3
  import { ESLintPluginCommandOptions } from 'eslint-plugin-command/types';
4
- import { RecommendedOptions } from 'eslint-plugin-github-action';
4
+ import { CreateConfigOptions } from 'eslint-plugin-github-action';
5
5
  export { default as pluginGitHubAction } from 'eslint-plugin-github-action';
6
6
  import { RuleOptions as RuleOptions$1 } from 'eslint-plugin-svgo/rule-options';
7
7
  import { Options } from 'eslint-processor-vue-blocks';
@@ -10,7 +10,6 @@ import { Linter } from 'eslint';
10
10
  import { ConfigWithExtends } from 'typescript-eslint';
11
11
  export { plugin as pluginTypeScript, configs as typescriptConfigs } from 'typescript-eslint';
12
12
  import { RequiredOptions, BuiltInParserName } from 'prettier';
13
- import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
14
13
  import * as eslintPluginRegexp from 'eslint-plugin-regexp';
15
14
  export { eslintPluginRegexp as pluginRegexp };
16
15
  import * as eslintPluginDepend from 'eslint-plugin-depend';
@@ -744,7 +743,7 @@ interface RuleOptions {
744
743
  * Disallow using code marked as `@deprecated`
745
744
  * @see https://typescript-eslint.io/rules/no-deprecated
746
745
  */
747
- '@typescript-eslint/no-deprecated'?: Linter.RuleEntry<[]>;
746
+ '@typescript-eslint/no-deprecated'?: Linter.RuleEntry<TypescriptEslintNoDeprecated>;
748
747
  /**
749
748
  * Disallow duplicate class members
750
749
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -862,6 +861,11 @@ interface RuleOptions {
862
861
  * @see https://typescript-eslint.io/rules/no-misused-promises
863
862
  */
864
863
  '@typescript-eslint/no-misused-promises'?: Linter.RuleEntry<TypescriptEslintNoMisusedPromises>;
864
+ /**
865
+ * Disallow using the spread operator when it might cause unexpected behavior
866
+ * @see https://typescript-eslint.io/rules/no-misused-spread
867
+ */
868
+ '@typescript-eslint/no-misused-spread'?: Linter.RuleEntry<TypescriptEslintNoMisusedSpread>;
865
869
  /**
866
870
  * Disallow enums from having both number and string members
867
871
  * @see https://typescript-eslint.io/rules/no-mixed-enums
@@ -9962,6 +9966,7 @@ type TypescriptEslintConsistentTypeAssertions = [] | [
9962
9966
  ({
9963
9967
  assertionStyle: "never";
9964
9968
  } | {
9969
+ arrayLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never");
9965
9970
  assertionStyle?: ("as" | "angle-bracket");
9966
9971
  objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never");
9967
9972
  })
@@ -10395,6 +10400,22 @@ type TypescriptEslintNoConfusingVoidExpression = [] | [
10395
10400
  ignoreVoidReturningFunctions?: boolean;
10396
10401
  }
10397
10402
  ];
10403
+ type TypescriptEslintNoDeprecated = [] | [
10404
+ {
10405
+ allow?: (string | {
10406
+ from: "file";
10407
+ name: (string | [string, ...(string)[]]);
10408
+ path?: string;
10409
+ } | {
10410
+ from: "lib";
10411
+ name: (string | [string, ...(string)[]]);
10412
+ } | {
10413
+ from: "package";
10414
+ name: (string | [string, ...(string)[]]);
10415
+ package: string;
10416
+ })[];
10417
+ }
10418
+ ];
10398
10419
  type TypescriptEslintNoDuplicateTypeConstituents = [] | [
10399
10420
  {
10400
10421
  ignoreIntersections?: boolean;
@@ -10513,6 +10534,22 @@ type TypescriptEslintNoMisusedPromises = [] | [
10513
10534
  });
10514
10535
  }
10515
10536
  ];
10537
+ type TypescriptEslintNoMisusedSpread = [] | [
10538
+ {
10539
+ allow?: (string | {
10540
+ from: "file";
10541
+ name: (string | [string, ...(string)[]]);
10542
+ path?: string;
10543
+ } | {
10544
+ from: "lib";
10545
+ name: (string | [string, ...(string)[]]);
10546
+ } | {
10547
+ from: "package";
10548
+ name: (string | [string, ...(string)[]]);
10549
+ package: string;
10550
+ })[];
10551
+ }
10552
+ ];
10516
10553
  type TypescriptEslintNoNamespace = [] | [
10517
10554
  {
10518
10555
  allowDeclarations?: boolean;
@@ -10574,7 +10611,7 @@ type TypescriptEslintNoShadow = [] | [
10574
10611
  {
10575
10612
  allow?: string[];
10576
10613
  builtinGlobals?: boolean;
10577
- hoist?: ("all" | "functions" | "never");
10614
+ hoist?: ("all" | "functions" | "functions-and-types" | "never" | "types");
10578
10615
  ignoreFunctionTypeParameterNameValueShadow?: boolean;
10579
10616
  ignoreOnInitialization?: boolean;
10580
10617
  ignoreTypeValueShadow?: boolean;
@@ -18015,7 +18052,7 @@ interface ConfigFormatOptions {
18015
18052
  */
18016
18053
  dprintOptions?: boolean;
18017
18054
  }
18018
- interface ConfigGitHubActionOptions extends RecommendedOptions, OptionsOverrides {
18055
+ interface ConfigGitHubActionOptions extends CreateConfigOptions, OptionsOverrides {
18019
18056
  }
18020
18057
  type ConfigGitIgnoreOptions = Omit<FlatGitignoreOptions, 'strict'> & {
18021
18058
  /**
@@ -18047,6 +18084,12 @@ interface ConfigJsdocOptions extends OptionsFeatures, OptionsOverrides {
18047
18084
  interface ConfigJsoncOptions extends OptionsOverrides {
18048
18085
  }
18049
18086
  interface ConfigMarkdownOptions extends OptionsExtensions, OptionsFiles, OptionsOverrides {
18087
+ /**
18088
+ * Explicitly disable type aware linting for markdown files
18089
+ *
18090
+ * @default false
18091
+ */
18092
+ disableTypeAwareLinting?: boolean;
18050
18093
  }
18051
18094
  interface ConfigNodeOptions extends OptionsOverrides {
18052
18095
  }
@@ -18405,12 +18448,24 @@ declare function mergePrettierOptions(options?: PrettierOptions, overrides?: Pre
18405
18448
 
18406
18449
  declare function isInGitHooksOrRunByNanoStagedOrRunByTSX(): boolean;
18407
18450
 
18451
+ /**
18452
+ * @file ESLint parsers
18453
+ */
18454
+
18408
18455
  /**
18409
18456
  * With meta
18410
18457
  */
18411
18458
  declare const parserTypeScript: {
18412
- meta?: { [K in keyof _typescript_eslint_utils_ts_eslint.Parser.ParserMeta]?: _typescript_eslint_utils_ts_eslint.Parser.ParserMeta[K] | undefined; };
18413
- parseForESLint(text: string, options?: unknown): { [k in keyof _typescript_eslint_utils_ts_eslint.Parser.ParseResult]: unknown; };
18459
+ meta?: {
18460
+ name?: string | undefined;
18461
+ version?: string | undefined;
18462
+ };
18463
+ parseForESLint(text: string, options?: unknown): {
18464
+ ast: unknown;
18465
+ scopeManager?: unknown;
18466
+ services?: unknown;
18467
+ visitorKeys?: unknown;
18468
+ };
18414
18469
  };
18415
18470
 
18416
18471
  /**
package/dist/index.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { FlatConfigComposer } from 'eslint-flat-config-utils';
2
2
  import { FlatGitignoreOptions } from 'eslint-config-flat-gitignore';
3
3
  import { ESLintPluginCommandOptions } from 'eslint-plugin-command/types';
4
- import { RecommendedOptions } from 'eslint-plugin-github-action';
4
+ import { CreateConfigOptions } from 'eslint-plugin-github-action';
5
5
  export { default as pluginGitHubAction } from 'eslint-plugin-github-action';
6
6
  import { RuleOptions as RuleOptions$1 } from 'eslint-plugin-svgo/rule-options';
7
7
  import { Options } from 'eslint-processor-vue-blocks';
@@ -10,7 +10,6 @@ import { Linter } from 'eslint';
10
10
  import { ConfigWithExtends } from 'typescript-eslint';
11
11
  export { plugin as pluginTypeScript, configs as typescriptConfigs } from 'typescript-eslint';
12
12
  import { RequiredOptions, BuiltInParserName } from 'prettier';
13
- import * as _typescript_eslint_utils_ts_eslint from '@typescript-eslint/utils/ts-eslint';
14
13
  import * as eslintPluginRegexp from 'eslint-plugin-regexp';
15
14
  export { eslintPluginRegexp as pluginRegexp };
16
15
  import * as eslintPluginDepend from 'eslint-plugin-depend';
@@ -744,7 +743,7 @@ interface RuleOptions {
744
743
  * Disallow using code marked as `@deprecated`
745
744
  * @see https://typescript-eslint.io/rules/no-deprecated
746
745
  */
747
- '@typescript-eslint/no-deprecated'?: Linter.RuleEntry<[]>;
746
+ '@typescript-eslint/no-deprecated'?: Linter.RuleEntry<TypescriptEslintNoDeprecated>;
748
747
  /**
749
748
  * Disallow duplicate class members
750
749
  * @see https://typescript-eslint.io/rules/no-dupe-class-members
@@ -862,6 +861,11 @@ interface RuleOptions {
862
861
  * @see https://typescript-eslint.io/rules/no-misused-promises
863
862
  */
864
863
  '@typescript-eslint/no-misused-promises'?: Linter.RuleEntry<TypescriptEslintNoMisusedPromises>;
864
+ /**
865
+ * Disallow using the spread operator when it might cause unexpected behavior
866
+ * @see https://typescript-eslint.io/rules/no-misused-spread
867
+ */
868
+ '@typescript-eslint/no-misused-spread'?: Linter.RuleEntry<TypescriptEslintNoMisusedSpread>;
865
869
  /**
866
870
  * Disallow enums from having both number and string members
867
871
  * @see https://typescript-eslint.io/rules/no-mixed-enums
@@ -9962,6 +9966,7 @@ type TypescriptEslintConsistentTypeAssertions = [] | [
9962
9966
  ({
9963
9967
  assertionStyle: "never";
9964
9968
  } | {
9969
+ arrayLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never");
9965
9970
  assertionStyle?: ("as" | "angle-bracket");
9966
9971
  objectLiteralTypeAssertions?: ("allow" | "allow-as-parameter" | "never");
9967
9972
  })
@@ -10395,6 +10400,22 @@ type TypescriptEslintNoConfusingVoidExpression = [] | [
10395
10400
  ignoreVoidReturningFunctions?: boolean;
10396
10401
  }
10397
10402
  ];
10403
+ type TypescriptEslintNoDeprecated = [] | [
10404
+ {
10405
+ allow?: (string | {
10406
+ from: "file";
10407
+ name: (string | [string, ...(string)[]]);
10408
+ path?: string;
10409
+ } | {
10410
+ from: "lib";
10411
+ name: (string | [string, ...(string)[]]);
10412
+ } | {
10413
+ from: "package";
10414
+ name: (string | [string, ...(string)[]]);
10415
+ package: string;
10416
+ })[];
10417
+ }
10418
+ ];
10398
10419
  type TypescriptEslintNoDuplicateTypeConstituents = [] | [
10399
10420
  {
10400
10421
  ignoreIntersections?: boolean;
@@ -10513,6 +10534,22 @@ type TypescriptEslintNoMisusedPromises = [] | [
10513
10534
  });
10514
10535
  }
10515
10536
  ];
10537
+ type TypescriptEslintNoMisusedSpread = [] | [
10538
+ {
10539
+ allow?: (string | {
10540
+ from: "file";
10541
+ name: (string | [string, ...(string)[]]);
10542
+ path?: string;
10543
+ } | {
10544
+ from: "lib";
10545
+ name: (string | [string, ...(string)[]]);
10546
+ } | {
10547
+ from: "package";
10548
+ name: (string | [string, ...(string)[]]);
10549
+ package: string;
10550
+ })[];
10551
+ }
10552
+ ];
10516
10553
  type TypescriptEslintNoNamespace = [] | [
10517
10554
  {
10518
10555
  allowDeclarations?: boolean;
@@ -10574,7 +10611,7 @@ type TypescriptEslintNoShadow = [] | [
10574
10611
  {
10575
10612
  allow?: string[];
10576
10613
  builtinGlobals?: boolean;
10577
- hoist?: ("all" | "functions" | "never");
10614
+ hoist?: ("all" | "functions" | "functions-and-types" | "never" | "types");
10578
10615
  ignoreFunctionTypeParameterNameValueShadow?: boolean;
10579
10616
  ignoreOnInitialization?: boolean;
10580
10617
  ignoreTypeValueShadow?: boolean;
@@ -18015,7 +18052,7 @@ interface ConfigFormatOptions {
18015
18052
  */
18016
18053
  dprintOptions?: boolean;
18017
18054
  }
18018
- interface ConfigGitHubActionOptions extends RecommendedOptions, OptionsOverrides {
18055
+ interface ConfigGitHubActionOptions extends CreateConfigOptions, OptionsOverrides {
18019
18056
  }
18020
18057
  type ConfigGitIgnoreOptions = Omit<FlatGitignoreOptions, 'strict'> & {
18021
18058
  /**
@@ -18047,6 +18084,12 @@ interface ConfigJsdocOptions extends OptionsFeatures, OptionsOverrides {
18047
18084
  interface ConfigJsoncOptions extends OptionsOverrides {
18048
18085
  }
18049
18086
  interface ConfigMarkdownOptions extends OptionsExtensions, OptionsFiles, OptionsOverrides {
18087
+ /**
18088
+ * Explicitly disable type aware linting for markdown files
18089
+ *
18090
+ * @default false
18091
+ */
18092
+ disableTypeAwareLinting?: boolean;
18050
18093
  }
18051
18094
  interface ConfigNodeOptions extends OptionsOverrides {
18052
18095
  }
@@ -18405,12 +18448,24 @@ declare function mergePrettierOptions(options?: PrettierOptions, overrides?: Pre
18405
18448
 
18406
18449
  declare function isInGitHooksOrRunByNanoStagedOrRunByTSX(): boolean;
18407
18450
 
18451
+ /**
18452
+ * @file ESLint parsers
18453
+ */
18454
+
18408
18455
  /**
18409
18456
  * With meta
18410
18457
  */
18411
18458
  declare const parserTypeScript: {
18412
- meta?: { [K in keyof _typescript_eslint_utils_ts_eslint.Parser.ParserMeta]?: _typescript_eslint_utils_ts_eslint.Parser.ParserMeta[K] | undefined; };
18413
- parseForESLint(text: string, options?: unknown): { [k in keyof _typescript_eslint_utils_ts_eslint.Parser.ParseResult]: unknown; };
18459
+ meta?: {
18460
+ name?: string | undefined;
18461
+ version?: string | undefined;
18462
+ };
18463
+ parseForESLint(text: string, options?: unknown): {
18464
+ ast: unknown;
18465
+ scopeManager?: unknown;
18466
+ services?: unknown;
18467
+ visitorKeys?: unknown;
18468
+ };
18414
18469
  };
18415
18470
 
18416
18471
  /**
package/dist/index.js CHANGED
@@ -2033,9 +2033,13 @@ var markdown = (options = {}) => {
2033
2033
  /**
2034
2034
  * other extensions
2035
2035
  */
2036
- extensions = []
2036
+ extensions = [],
2037
+ /**
2038
+ * disbale type aware linting
2039
+ */
2040
+ disableTypeAwareLinting = false
2037
2041
  } = options;
2038
- return [
2042
+ const configs2 = [
2039
2043
  /**
2040
2044
  * extracting code blocks to be linted individually
2041
2045
  */
@@ -2103,6 +2107,14 @@ var markdown = (options = {}) => {
2103
2107
  }
2104
2108
  }
2105
2109
  ];
2110
+ if (disableTypeAwareLinting) {
2111
+ configs2.push({
2112
+ ...configs.disableTypeChecked,
2113
+ name: "ntnyq/markdown/disable/type-aware",
2114
+ files: [GLOB_MARKDOWN_CODE]
2115
+ });
2116
+ }
2117
+ return configs2;
2106
2118
  };
2107
2119
 
2108
2120
  // src/configs/prettier.ts
@@ -2458,6 +2470,7 @@ var typeAwareRules = {
2458
2470
  "@typescript-eslint/no-implied-eval": "error",
2459
2471
  "@typescript-eslint/only-throw-error": "error",
2460
2472
  "@typescript-eslint/no-unsafe-return": "error",
2473
+ "@typescript-eslint/no-misused-spread": "error",
2461
2474
  "@typescript-eslint/no-unsafe-argument": "error",
2462
2475
  "@typescript-eslint/no-misused-promises": "error",
2463
2476
  "@typescript-eslint/no-unsafe-assignment": "error",
@@ -2677,28 +2690,26 @@ var eslintPlugin = async (options = {}) => {
2677
2690
  };
2678
2691
 
2679
2692
  // src/configs/githubAction.ts
2680
- import { createRecommendedConfig } from "eslint-plugin-github-action";
2693
+ import { createConfig } from "eslint-plugin-github-action";
2681
2694
  var githubAction = (options = {}) => {
2682
2695
  const {
2683
2696
  // Support common overrides rules
2684
2697
  overrides: overridesRules = {},
2685
- // Flat config options
2698
+ // Config options
2686
2699
  ...restOptions
2687
2700
  } = options;
2688
- const recommendedConfig = createRecommendedConfig({
2689
- name: "ntnyq/github-action",
2690
- files: [GLOB_GITHUB_ACTION],
2691
- ...restOptions
2692
- });
2693
2701
  return [
2694
- {
2695
- ...recommendedConfig,
2702
+ createConfig({
2703
+ name: "ntnyq/github-action",
2704
+ files: [GLOB_GITHUB_ACTION],
2696
2705
  rules: {
2697
- ...recommendedConfig.rules,
2698
- // Overrides rules
2706
+ "github-action/no-invalid-key": "error",
2707
+ "github-action/prefer-file-extension": "error",
2708
+ "github-action/require-action-name": "error",
2699
2709
  ...overridesRules
2700
- }
2701
- }
2710
+ },
2711
+ ...restOptions
2712
+ })
2702
2713
  ];
2703
2714
  };
2704
2715
 
package/package.json CHANGED
@@ -1,8 +1,8 @@
1
1
  {
2
2
  "name": "@ntnyq/eslint-config",
3
3
  "type": "module",
4
- "version": "3.12.1",
5
- "packageManager": "pnpm@9.15.3",
4
+ "version": "3.12.2",
5
+ "packageManager": "pnpm@9.15.4",
6
6
  "description": "An opinionated ESLint config preset of ntnyq",
7
7
  "keywords": [
8
8
  "eslint",
@@ -77,7 +77,7 @@
77
77
  "@eslint/js": "^9.18.0",
78
78
  "@eslint/markdown": "^6.2.1",
79
79
  "@unocss/eslint-plugin": "^65.4.0",
80
- "@vitest/eslint-plugin": "^1.1.24",
80
+ "@vitest/eslint-plugin": "^1.1.25",
81
81
  "eslint-config-flat-gitignore": "^1.0.0",
82
82
  "eslint-flat-config-utils": "^1.0.0",
83
83
  "eslint-import-resolver-typescript": "^3.7.0",
@@ -86,7 +86,7 @@
86
86
  "eslint-plugin-command": "^2.1.0",
87
87
  "eslint-plugin-depend": "^0.12.0",
88
88
  "eslint-plugin-format": "^1.0.1",
89
- "eslint-plugin-github-action": "^0.0.12",
89
+ "eslint-plugin-github-action": "^0.0.13",
90
90
  "eslint-plugin-import-x": "^4.6.1",
91
91
  "eslint-plugin-jsdoc": "^50.6.1",
92
92
  "eslint-plugin-jsonc": "^2.18.2",
@@ -108,13 +108,13 @@
108
108
  "local-pkg": "^1.0.0",
109
109
  "prettier": "^3.4.2",
110
110
  "toml-eslint-parser": "^0.10.0",
111
- "typescript-eslint": "^8.19.1",
111
+ "typescript-eslint": "^8.20.0",
112
112
  "vue-eslint-parser": "^9.4.3",
113
113
  "yaml-eslint-parser": "^1.2.3"
114
114
  },
115
115
  "devDependencies": {
116
116
  "@ntnyq/prettier-config": "^1.22.1",
117
- "@types/node": "^22.10.5",
117
+ "@types/node": "^22.10.6",
118
118
  "bumpp": "^9.10.0",
119
119
  "eslint": "^9.18.0",
120
120
  "eslint-typegen": "^1.0.0",
@@ -137,6 +137,7 @@
137
137
  }
138
138
  },
139
139
  "nano-staged": {
140
- "*.{js,ts,mjs,cjs,vue,svg,json,jsonc,md,yaml,yml}": "eslint --fix"
140
+ "*.{js,ts,mjs,cjs,vue,svg,json,jsonc,md,yaml,yml}": "eslint --fix",
141
+ "*.css": "prettier --write"
141
142
  }
142
143
  }