@storm-software/eslint 0.68.3 → 0.68.5

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/preset.mjs CHANGED
@@ -13646,7 +13646,6 @@ plugin.configs.recommended = [
13646
13646
  ];
13647
13647
 
13648
13648
  const CODE_BLOCK = "**/*.md{,x}/*";
13649
- const CODE_FILE = "**/*.{,c,m}{j,t}s{,x}";
13650
13649
  const TS_FILE = "**/*.{,c,m}ts{,x}";
13651
13650
 
13652
13651
  const formatConfig = (name, config = []) => {
@@ -13859,26 +13858,7 @@ function getStormConfig(options = {
13859
13858
  }
13860
13859
  };
13861
13860
  }
13862
- const codeConfig = {
13863
- files: [CODE_FILE],
13864
- rules: {
13865
- // Prettier
13866
- ...prettierConfig.rules,
13867
- // Banner
13868
- ...plugin.configs["recommended"][1]?.rules,
13869
- "banner/banner": [
13870
- "error",
13871
- {
13872
- repositoryName: options.name,
13873
- banner: options.banner,
13874
- commentType: "block",
13875
- numNewlines: 2
13876
- }
13877
- ]
13878
- },
13879
- ignores: ["dist", "coverage", "tmp", ".nx", ...options.ignores || []]
13880
- };
13881
- configs.push(codeConfig);
13861
+ configs.push(typescriptConfig);
13882
13862
  if (options.markdown) {
13883
13863
  configs.push(...markdown.configs.recommended);
13884
13864
  configs.push({