@alextheman/eslint-plugin 1.6.1 → 1.6.3
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 +6 -4
- package/dist/index.d.cts +4 -2
- package/dist/index.d.ts +4 -2
- package/dist/index.js +4 -3
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3700,13 +3700,14 @@ var require_globals2 = __commonJS({
|
|
|
3700
3700
|
var index_exports = {};
|
|
3701
3701
|
__export(index_exports, {
|
|
3702
3702
|
default: () => index_default,
|
|
3703
|
-
prettierRules: () => prettier_rules_default
|
|
3703
|
+
prettierRules: () => prettier_rules_default,
|
|
3704
|
+
warnOnFixButErrorOnLint: () => warnOnFixButErrorOnLint
|
|
3704
3705
|
});
|
|
3705
3706
|
module.exports = __toCommonJS(index_exports);
|
|
3706
3707
|
|
|
3707
3708
|
// package.json
|
|
3708
3709
|
var name = "@alextheman/eslint-plugin";
|
|
3709
|
-
var version = "1.6.
|
|
3710
|
+
var version = "1.6.3";
|
|
3710
3711
|
|
|
3711
3712
|
// src/configs/eslint-config-typescript-base.ts
|
|
3712
3713
|
var import_js = __toESM(require_src(), 1);
|
|
@@ -3859,7 +3860,7 @@ function createAlexTypeScriptReactBaseConfig(plugin2) {
|
|
|
3859
3860
|
react: import_eslint_plugin_react.default
|
|
3860
3861
|
},
|
|
3861
3862
|
rules: __spreadProps(__spreadValues({}, import_eslint_plugin_react_hooks.default.configs.recommended.rules), {
|
|
3862
|
-
"react-refresh/only-export-components":
|
|
3863
|
+
"react-refresh/only-export-components": "off",
|
|
3863
3864
|
"react-hooks/exhaustive-deps": "off",
|
|
3864
3865
|
"no-restricted-imports": [
|
|
3865
3866
|
warnOnFixButErrorOnLint,
|
|
@@ -4060,5 +4061,6 @@ plugin.configs = {
|
|
|
4060
4061
|
var index_default = plugin;
|
|
4061
4062
|
// Annotate the CommonJS export names for ESM import in node:
|
|
4062
4063
|
0 && (module.exports = {
|
|
4063
|
-
prettierRules
|
|
4064
|
+
prettierRules,
|
|
4065
|
+
warnOnFixButErrorOnLint
|
|
4064
4066
|
});
|
package/dist/index.d.cts
CHANGED
|
@@ -3,7 +3,9 @@ import { Linter } from 'eslint';
|
|
|
3
3
|
import { Config } from 'prettier';
|
|
4
4
|
|
|
5
5
|
var name = "@alextheman/eslint-plugin";
|
|
6
|
-
var version = "1.6.
|
|
6
|
+
var version = "1.6.3";
|
|
7
|
+
|
|
8
|
+
declare const warnOnFixButErrorOnLint: string;
|
|
7
9
|
|
|
8
10
|
declare const prettierRules: Config;
|
|
9
11
|
|
|
@@ -39,4 +41,4 @@ declare const plugin: {
|
|
|
39
41
|
};
|
|
40
42
|
};
|
|
41
43
|
|
|
42
|
-
export { type AlexPlugin, plugin as default, prettierRules };
|
|
44
|
+
export { type AlexPlugin, plugin as default, prettierRules, warnOnFixButErrorOnLint };
|
package/dist/index.d.ts
CHANGED
|
@@ -3,7 +3,9 @@ import { Linter } from 'eslint';
|
|
|
3
3
|
import { Config } from 'prettier';
|
|
4
4
|
|
|
5
5
|
var name = "@alextheman/eslint-plugin";
|
|
6
|
-
var version = "1.6.
|
|
6
|
+
var version = "1.6.3";
|
|
7
|
+
|
|
8
|
+
declare const warnOnFixButErrorOnLint: string;
|
|
7
9
|
|
|
8
10
|
declare const prettierRules: Config;
|
|
9
11
|
|
|
@@ -39,4 +41,4 @@ declare const plugin: {
|
|
|
39
41
|
};
|
|
40
42
|
};
|
|
41
43
|
|
|
42
|
-
export { type AlexPlugin, plugin as default, prettierRules };
|
|
44
|
+
export { type AlexPlugin, plugin as default, prettierRules, warnOnFixButErrorOnLint };
|
package/dist/index.js
CHANGED
|
@@ -3692,7 +3692,7 @@ var require_globals2 = __commonJS({
|
|
|
3692
3692
|
|
|
3693
3693
|
// package.json
|
|
3694
3694
|
var name = "@alextheman/eslint-plugin";
|
|
3695
|
-
var version = "1.6.
|
|
3695
|
+
var version = "1.6.3";
|
|
3696
3696
|
|
|
3697
3697
|
// src/configs/eslint-config-typescript-base.ts
|
|
3698
3698
|
var import_js = __toESM(require_src(), 1);
|
|
@@ -3845,7 +3845,7 @@ function createAlexTypeScriptReactBaseConfig(plugin2) {
|
|
|
3845
3845
|
react: reactPlugin
|
|
3846
3846
|
},
|
|
3847
3847
|
rules: __spreadProps(__spreadValues({}, reactHooks.configs.recommended.rules), {
|
|
3848
|
-
"react-refresh/only-export-components":
|
|
3848
|
+
"react-refresh/only-export-components": "off",
|
|
3849
3849
|
"react-hooks/exhaustive-deps": "off",
|
|
3850
3850
|
"no-restricted-imports": [
|
|
3851
3851
|
warnOnFixButErrorOnLint,
|
|
@@ -4046,5 +4046,6 @@ plugin.configs = {
|
|
|
4046
4046
|
var index_default = plugin;
|
|
4047
4047
|
export {
|
|
4048
4048
|
index_default as default,
|
|
4049
|
-
prettier_rules_default as prettierRules
|
|
4049
|
+
prettier_rules_default as prettierRules,
|
|
4050
|
+
warnOnFixButErrorOnLint
|
|
4050
4051
|
};
|