@alextheman/eslint-plugin 3.1.0 → 3.1.1
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 +2 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -3765,7 +3765,7 @@ module.exports = __toCommonJS(index_exports);
|
|
|
3765
3765
|
|
|
3766
3766
|
// package.json
|
|
3767
3767
|
var name = "@alextheman/eslint-plugin";
|
|
3768
|
-
var version = "3.1.
|
|
3768
|
+
var version = "3.1.1";
|
|
3769
3769
|
|
|
3770
3770
|
// src/configs/index.ts
|
|
3771
3771
|
var import_eslint_plugin_package_json = __toESM(require("eslint-plugin-package-json"), 1);
|
|
@@ -4753,7 +4753,7 @@ var noPluginConfigAccessFromSrcConfigs = createRule_default({
|
|
|
4753
4753
|
messages: {
|
|
4754
4754
|
message: "Do not access `plugin.configs` from a file in `src/configs`. Please import the corresponding config creator from `src/configs` instead and pass the plugin to that instead."
|
|
4755
4755
|
},
|
|
4756
|
-
type: "
|
|
4756
|
+
type: "problem",
|
|
4757
4757
|
schema: []
|
|
4758
4758
|
},
|
|
4759
4759
|
defaultOptions: [],
|
package/dist/index.d.cts
CHANGED
|
@@ -4,7 +4,7 @@ import { Config } from 'prettier';
|
|
|
4
4
|
import z from 'zod';
|
|
5
5
|
|
|
6
6
|
var name = "@alextheman/eslint-plugin";
|
|
7
|
-
var version = "3.1.
|
|
7
|
+
var version = "3.1.1";
|
|
8
8
|
|
|
9
9
|
type CamelToKebab<S extends string> = S extends `${IgnoreCase<"J">}avaScript${infer Rest}` ? Rest extends "" ? "javascript" : `javascript${CamelToKebab<Rest>}` : S extends `${IgnoreCase<"T">}ypeScript${infer Rest}` ? Rest extends "" ? "typescript" : `typescript${CamelToKebab<Rest>}` : S extends `${infer Head}${infer Tail}` ? Head extends Lowercase<Head> ? `${Head}${CamelToKebab<Tail>}` : `-${Lowercase<Head>}${CamelToKebab<Tail>}` : S;
|
|
10
10
|
|
package/dist/index.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { Config } from 'prettier';
|
|
|
4
4
|
import z from 'zod';
|
|
5
5
|
|
|
6
6
|
var name = "@alextheman/eslint-plugin";
|
|
7
|
-
var version = "3.1.
|
|
7
|
+
var version = "3.1.1";
|
|
8
8
|
|
|
9
9
|
type CamelToKebab<S extends string> = S extends `${IgnoreCase<"J">}avaScript${infer Rest}` ? Rest extends "" ? "javascript" : `javascript${CamelToKebab<Rest>}` : S extends `${IgnoreCase<"T">}ypeScript${infer Rest}` ? Rest extends "" ? "typescript" : `typescript${CamelToKebab<Rest>}` : S extends `${infer Head}${infer Tail}` ? Head extends Lowercase<Head> ? `${Head}${CamelToKebab<Tail>}` : `-${Lowercase<Head>}${CamelToKebab<Tail>}` : S;
|
|
10
10
|
|
package/dist/index.js
CHANGED
|
@@ -3744,7 +3744,7 @@ var require_src = __commonJS({
|
|
|
3744
3744
|
|
|
3745
3745
|
// package.json
|
|
3746
3746
|
var name = "@alextheman/eslint-plugin";
|
|
3747
|
-
var version = "3.1.
|
|
3747
|
+
var version = "3.1.1";
|
|
3748
3748
|
|
|
3749
3749
|
// src/configs/index.ts
|
|
3750
3750
|
import packageJson from "eslint-plugin-package-json";
|
|
@@ -4732,7 +4732,7 @@ var noPluginConfigAccessFromSrcConfigs = createRule_default({
|
|
|
4732
4732
|
messages: {
|
|
4733
4733
|
message: "Do not access `plugin.configs` from a file in `src/configs`. Please import the corresponding config creator from `src/configs` instead and pass the plugin to that instead."
|
|
4734
4734
|
},
|
|
4735
|
-
type: "
|
|
4735
|
+
type: "problem",
|
|
4736
4736
|
schema: []
|
|
4737
4737
|
},
|
|
4738
4738
|
defaultOptions: [],
|