@storm-software/eslint 0.89.1 → 0.91.0
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 +1 -1
- package/dist/preset.mjs +2 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,7 @@ This package is part of the <b>⚡Storm-Ops</b> monorepo. The Storm-Ops packages
|
|
|
21
21
|
|
|
22
22
|
<h3 align="center">💻 Visit <a href="https://stormsoftware.com" target="_blank">stormsoftware.com</a> to stay up to date with this developer</h3><br />
|
|
23
23
|
|
|
24
|
-
[](https://prettier.io/) [](http://nx.dev/) [](https://nextjs.org/) [](http://commitizen.github.io/cz-cli/)  [](https://fumadocs.vercel.app/) 
|
|
25
25
|
|
|
26
26
|
<!-- prettier-ignore-start -->
|
|
27
27
|
<!-- markdownlint-disable -->
|
package/dist/preset.mjs
CHANGED
|
@@ -6,7 +6,7 @@ const __dirname = banner_dirname(__filename);
|
|
|
6
6
|
|
|
7
7
|
import { plugins, rules } from '@cspell/eslint-plugin/recommended';
|
|
8
8
|
import next from '@next/eslint-plugin-next';
|
|
9
|
-
import nxPlugin from '@nx/eslint-plugin';
|
|
9
|
+
import nxPlugin from '@nx/eslint-plugin/nx.js';
|
|
10
10
|
import json from 'eslint-plugin-json';
|
|
11
11
|
import markdown from 'eslint-plugin-markdown';
|
|
12
12
|
import prettierConfig from 'eslint-plugin-prettier/recommended';
|
|
@@ -12936,7 +12936,7 @@ function getStormConfig(options = {
|
|
|
12936
12936
|
var _a;
|
|
12937
12937
|
const tsconfig = options.tsconfig;
|
|
12938
12938
|
const parserOptions = options.parserOptions;
|
|
12939
|
-
const typescriptEslintConfigType = options.typescriptEslintConfigType || "
|
|
12939
|
+
const typescriptEslintConfigType = options.typescriptEslintConfigType || "eslintRecommended";
|
|
12940
12940
|
const useUnicorn = options.useUnicorn ?? true;
|
|
12941
12941
|
const react = options.react ?? {};
|
|
12942
12942
|
const nx = options.nx ?? {};
|
|
@@ -13017,11 +13017,6 @@ function getStormConfig(options = {
|
|
|
13017
13017
|
configs.push({
|
|
13018
13018
|
plugins: { "@nx": nxPlugin }
|
|
13019
13019
|
});
|
|
13020
|
-
const nxPluginConfigs = nxPlugin.configs;
|
|
13021
|
-
if (react) {
|
|
13022
|
-
configs.push(...nxPluginConfigs["flat/react-typescript"]);
|
|
13023
|
-
}
|
|
13024
|
-
configs.push(...nxPluginConfigs["flat/typescript"]);
|
|
13025
13020
|
}
|
|
13026
13021
|
configs.push(eslint.configs.recommended);
|
|
13027
13022
|
if (typescriptEslintConfigType !== "none") {
|
package/package.json
CHANGED