@storm-software/eslint 0.78.3 → 0.78.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
@@ -12833,7 +12833,10 @@ const plugin = {
12833
12833
  processors: {}
12834
12834
  };
12835
12835
  plugin.configs && (plugin.configs.recommended = [
12836
- { name: "banner/recommended/plugin", plugins: { banner: plugin } },
12836
+ {
12837
+ name: "banner/recommended/plugin",
12838
+ plugins: { banner: plugin }
12839
+ },
12837
12840
  {
12838
12841
  name: "banner/recommended/code-files",
12839
12842
  files: [
@@ -12888,7 +12891,7 @@ function getStormConfig(options = {
12888
12891
  // We use TS config only for TS files
12889
12892
  })),
12890
12893
  // https://github.com/sindresorhus/eslint-plugin-unicorn
12891
- // unicorn.configs["flat/recommended"] as Linter.FlatConfig,
12894
+ unicorn.configs["flat/recommended"],
12892
12895
  // Prettier
12893
12896
  prettierConfig,
12894
12897
  // Import
@@ -12900,7 +12903,7 @@ function getStormConfig(options = {
12900
12903
  // },
12901
12904
  // Banner
12902
12905
  // eslint-disable-next-line @typescript-eslint/no-non-null-assertion
12903
- plugin.configs["recommended"][0],
12906
+ ...plugin.configs["recommended"],
12904
12907
  // TSDoc
12905
12908
  // https://www.npmjs.com/package/eslint-plugin-tsdoc
12906
12909
  { plugins: { tsdoc } },
@@ -12916,7 +12919,7 @@ function getStormConfig(options = {
12916
12919
  // https://www.npmjs.com/package/eslint-plugin-json
12917
12920
  // json.configs["recommended-with-comments"],
12918
12921
  {
12919
- files: ["*.json", "*.jsonc"],
12922
+ files: ["*.jsonc"],
12920
12923
  languageOptions: {
12921
12924
  parser: jsoncParser
12922
12925
  }
@@ -13015,22 +13018,22 @@ function getStormConfig(options = {
13015
13018
  // (ret, record) => ({ ...ret, ...record.rules }),
13016
13019
  // {}
13017
13020
  // ),
13018
- // Prettier
13019
- ...prettierConfig.rules,
13020
- // https://www.npmjs.com/package/eslint-plugin-unicorn
13021
- ...unicorn.configs["flat/recommended"].rules,
13021
+ // // Prettier
13022
+ // ...prettierConfig.rules,
13023
+ // // https://www.npmjs.com/package/eslint-plugin-unicorn
13024
+ // ...unicorn.configs["flat/recommended"].rules,
13022
13025
  // Banner
13023
- ...plugin.configs["recommended"][1]?.rules,
13026
+ // ...banner.configs!["recommended"]![1]?.rules,
13024
13027
  ...config$1,
13025
- "banner/banner": [
13026
- "error",
13027
- {
13028
- repositoryName: options.name,
13029
- banner: options.banner,
13030
- commentType: "block",
13031
- numNewlines: 2
13032
- }
13033
- ],
13028
+ // "banner/banner": [
13029
+ // "error",
13030
+ // {
13031
+ // repositoryName: options.name,
13032
+ // banner: options.banner,
13033
+ // commentType: "block",
13034
+ // numNewlines: 2
13035
+ // }
13036
+ // ],
13034
13037
  ...options.rules ?? {}
13035
13038
  },
13036
13039
  ignores: [