@smartive/eslint-config 6.3.1 → 6.3.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/cjs/index.js +1 -2
- package/dist/esm/index.js +1 -2
- package/dist/index.d.ts +0 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -131,8 +131,7 @@ const flatConfigReact = (includeNextJsConfig = false) => import_typescript_eslin
|
|
|
131
131
|
);
|
|
132
132
|
const configs = {
|
|
133
133
|
typescript: flatConfigTypescript,
|
|
134
|
-
react: flatConfigReact()
|
|
135
|
-
nextjs: flatConfigReact(true)
|
|
134
|
+
react: flatConfigReact()
|
|
136
135
|
};
|
|
137
136
|
const generateLegacyConfig = (react) => ({
|
|
138
137
|
rules: rules(react),
|
package/dist/esm/index.js
CHANGED
|
@@ -97,8 +97,7 @@ const flatConfigReact = (includeNextJsConfig = false) => tsEslint.config(
|
|
|
97
97
|
);
|
|
98
98
|
const configs = {
|
|
99
99
|
typescript: flatConfigTypescript,
|
|
100
|
-
react: flatConfigReact()
|
|
101
|
-
nextjs: flatConfigReact(true)
|
|
100
|
+
react: flatConfigReact()
|
|
102
101
|
};
|
|
103
102
|
const generateLegacyConfig = (react) => ({
|
|
104
103
|
rules: rules(react),
|
package/dist/index.d.ts
CHANGED
|
@@ -2,6 +2,5 @@ import type { Linter } from 'eslint';
|
|
|
2
2
|
export declare const configs: {
|
|
3
3
|
typescript: import("@typescript-eslint/utils/dist/ts-eslint").FlatConfig.ConfigArray;
|
|
4
4
|
react: import("@typescript-eslint/utils/dist/ts-eslint").FlatConfig.ConfigArray;
|
|
5
|
-
nextjs: import("@typescript-eslint/utils/dist/ts-eslint").FlatConfig.ConfigArray;
|
|
6
5
|
};
|
|
7
6
|
export declare const generateLegacyConfig: (react: boolean) => Linter.LegacyConfig;
|