@alextheman/eslint-plugin 1.12.2 → 1.13.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/dist/index.cjs CHANGED
@@ -3706,7 +3706,7 @@ module.exports = __toCommonJS(index_exports);
3706
3706
 
3707
3707
  // package.json
3708
3708
  var name = "@alextheman/eslint-plugin";
3709
- var version = "1.12.2";
3709
+ var version = "1.13.0";
3710
3710
 
3711
3711
  // src/configs/alexPluginBase.ts
3712
3712
  function createAlexPluginBaseConfig(plugin) {
@@ -3739,6 +3739,7 @@ var import_eslint_plugin = __toESM(require("@typescript-eslint/eslint-plugin"),
3739
3739
  var import_parser = __toESM(require("@typescript-eslint/parser"), 1);
3740
3740
  var import_eslint_config_prettier = __toESM(require("eslint-config-prettier"), 1);
3741
3741
  var import_eslint_plugin_import = __toESM(require("eslint-plugin-import"), 1);
3742
+ var import_eslint_plugin_package_json = __toESM(require("eslint-plugin-package-json"), 1);
3742
3743
  var import_eslint_plugin_perfectionist = __toESM(require("eslint-plugin-perfectionist"), 1);
3743
3744
  var import_eslint_plugin_prettier = __toESM(require("eslint-plugin-prettier"), 1);
3744
3745
  var import_globals = __toESM(require_globals2(), 1);
@@ -3753,6 +3754,7 @@ var prettierRules_default = prettierRules;
3753
3754
  var typeScriptBase = [
3754
3755
  import_js.default.configs.recommended,
3755
3756
  import_eslint_config_prettier.default,
3757
+ import_eslint_plugin_package_json.default.configs.recommended,
3756
3758
  {
3757
3759
  name: "@alextheman/eslint-config-typescript-base",
3758
3760
  files: ["**/*.ts", "**/*.tsx"],
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ import z from 'zod';
3
3
  import { Config } from 'prettier';
4
4
 
5
5
  var name = "@alextheman/eslint-plugin";
6
- var version = "1.12.2";
6
+ var version = "1.13.0";
7
7
 
8
8
  interface AlexPlugin {
9
9
  meta: {
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import z from 'zod';
3
3
  import { Config } from 'prettier';
4
4
 
5
5
  var name = "@alextheman/eslint-plugin";
6
- var version = "1.12.2";
6
+ var version = "1.13.0";
7
7
 
8
8
  interface AlexPlugin {
9
9
  meta: {
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.12.2";
3695
+ var version = "1.13.0";
3696
3696
 
3697
3697
  // src/configs/alexPluginBase.ts
3698
3698
  function createAlexPluginBaseConfig(plugin) {
@@ -3726,6 +3726,7 @@ import eslintPlugin from "@typescript-eslint/eslint-plugin";
3726
3726
  import tsparser from "@typescript-eslint/parser";
3727
3727
  import prettierConfig from "eslint-config-prettier";
3728
3728
  import importPlugin from "eslint-plugin-import";
3729
+ import packageJson from "eslint-plugin-package-json";
3729
3730
  import perfectionist from "eslint-plugin-perfectionist";
3730
3731
  import prettierPlugin from "eslint-plugin-prettier";
3731
3732
 
@@ -3739,6 +3740,7 @@ var prettierRules_default = prettierRules;
3739
3740
  var typeScriptBase = [
3740
3741
  import_js.default.configs.recommended,
3741
3742
  prettierConfig,
3743
+ packageJson.configs.recommended,
3742
3744
  {
3743
3745
  name: "@alextheman/eslint-config-typescript-base",
3744
3746
  files: ["**/*.ts", "**/*.tsx"],
package/package.json CHANGED
@@ -1,40 +1,31 @@
1
1
  {
2
2
  "name": "@alextheman/eslint-plugin",
3
- "version": "1.12.2",
4
- "description": "",
3
+ "version": "1.13.0",
4
+ "description": "A package to provide custom ESLint rules and configs",
5
+ "license": "ISC",
6
+ "author": "alextheman",
7
+ "type": "module",
5
8
  "main": "dist/index.js",
6
9
  "types": "dist/index.d.ts",
7
10
  "files": [
8
11
  "dist"
9
12
  ],
10
13
  "scripts": {
11
- "test": "vitest run",
12
- "test-watch": "vitest",
13
- "format": "npm run build && prettier --write --parser typescript \"src/**/*.ts\" \"tests/**/*.ts\" && eslint --fix --suppress-all \"src/**/*.ts\" \"tests/**/*.ts\" && rm -f eslint-suppressions.json",
14
- "lint": "npm run build && tsc --noEmit && eslint \"src/**/*.ts\" \"tests/**/*.ts\" && prettier --check --parser typescript \"src/**/*.ts\" \"tests/**/*.ts\"",
15
- "update-dependencies": "bash -c 'npx npm-check-updates -u \"$@\" && npm install' --",
16
- "prepare": "husky",
17
14
  "build": "tsup",
18
15
  "change-major": "npm version major -m \"Change version number to v%s\"",
19
16
  "change-minor": "npm version minor -m \"Change version number to v%s\"",
20
- "change-patch": "npm version patch -m \"Change version number to v%s\""
17
+ "change-patch": "npm version patch -m \"Change version number to v%s\"",
18
+ "format": "npm run build && prettier --write --parser typescript \"src/**/*.ts\" \"tests/**/*.ts\" && eslint --fix --suppress-all \"src/**/*.ts\" \"tests/**/*.ts\" \"package.json\" && rm -f eslint-suppressions.json",
19
+ "lint": "npm run build && tsc --noEmit && eslint \"src/**/*.ts\" \"tests/**/*.ts\" \"package.json\" && prettier --check --parser typescript \"src/**/*.ts\" \"tests/**/*.ts\"",
20
+ "prepare": "husky",
21
+ "test": "vitest run",
22
+ "test-watch": "vitest",
23
+ "update-dependencies": "bash -c 'npx npm-check-updates -u \"$@\" && npm install' --"
21
24
  },
22
- "keywords": [],
23
- "author": "",
24
- "license": "ISC",
25
- "type": "module",
26
- "peerDependencies": {
27
- "@typescript-eslint/eslint-plugin": "^8.37.0",
28
- "@typescript-eslint/parser": "^8.37.0",
29
- "eslint": "^9.31.0",
30
- "eslint-config-prettier": "^10.1.8",
31
- "eslint-import-resolver-typescript": "^4.4.4",
32
- "eslint-plugin-import": "^2.32.0",
33
- "eslint-plugin-perfectionist": "^4.15.0",
34
- "eslint-plugin-prettier": "^5.5.3",
35
- "eslint-plugin-react": "^7.37.5",
36
- "eslint-plugin-react-hooks": "^5.2.0",
37
- "eslint-plugin-react-refresh": "^0.4.20"
25
+ "dependencies": {
26
+ "common-tags": "^1.8.2",
27
+ "eslint-plugin-package-json": "^0.56.1",
28
+ "zod": "^4.1.5"
38
29
  },
39
30
  "devDependencies": {
40
31
  "@types/common-tags": "^1.8.4",
@@ -52,8 +43,17 @@
52
43
  "vite-tsconfig-paths": "^5.1.4",
53
44
  "vitest": "^3.2.4"
54
45
  },
55
- "dependencies": {
56
- "common-tags": "^1.8.2",
57
- "zod": "^4.1.5"
46
+ "peerDependencies": {
47
+ "@typescript-eslint/eslint-plugin": "^8.37.0",
48
+ "@typescript-eslint/parser": "^8.37.0",
49
+ "eslint": "^9.31.0",
50
+ "eslint-config-prettier": "^10.1.8",
51
+ "eslint-import-resolver-typescript": "^4.4.4",
52
+ "eslint-plugin-import": "^2.32.0",
53
+ "eslint-plugin-perfectionist": "^4.15.0",
54
+ "eslint-plugin-prettier": "^5.5.3",
55
+ "eslint-plugin-react": "^7.37.5",
56
+ "eslint-plugin-react-hooks": "^5.2.0",
57
+ "eslint-plugin-react-refresh": "^0.4.20"
58
58
  }
59
59
  }