@chris.araneo/eslint-config 0.0.139 → 0.0.140

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 CHANGED
@@ -3,7 +3,7 @@
3
3
  <p align="center">
4
4
  <img src="https://avatars.githubusercontent.com/u/6019716" alt="Official @eslint GitHub user avatar" width="256px" height="256px"/>
5
5
  <br>
6
- <a href="https://github.com/ChrisAraneo/eslint-config/blob/master/package.json"><img src="https://img.shields.io/badge/version-v0.0.139-blue" alt="version"></a>
6
+ <a href="https://github.com/ChrisAraneo/eslint-config/blob/master/package.json"><img src="https://img.shields.io/badge/version-v0.0.140-blue" alt="version"></a>
7
7
  <a href="https://github.com/ChrisAraneo/eslint-config/blob/master/LICENSE"><img src="https://img.shields.io/badge/license-MIT-blue.svg" alt="@chris.araneo/eslint-config is released under the MIT license."></a>
8
8
  <a href="https://github.com/ChrisAraneo/eslint-config/actions/workflows/ci.yml"><img alt="GitHub CI Status" src="https://img.shields.io/github/actions/workflow/status/ChrisAraneo/eslint-config/ci.yml?label=CI&logo=GitHub"></a>
9
9
  <br>
@@ -1,5 +1,19 @@
1
- import { DepConstraint } from '@nx/eslint-plugin/src/utils/runtime-lint-utils.js';
2
1
  import type { Linter } from 'eslint';
2
+ interface SingleSourceTagConstraint {
3
+ sourceTag: string;
4
+ onlyDependOnLibsWithTags?: string[];
5
+ notDependOnLibsWithTags?: string[];
6
+ allowedExternalImports?: string[];
7
+ bannedExternalImports?: string[];
8
+ }
9
+ interface ComboSourceTagConstraint {
10
+ allSourceTags: string[];
11
+ onlyDependOnLibsWithTags?: string[];
12
+ notDependOnLibsWithTags?: string[];
13
+ allowedExternalImports?: string[];
14
+ bannedExternalImports?: string[];
15
+ }
16
+ export type DepConstraint = SingleSourceTagConstraint | ComboSourceTagConstraint;
3
17
  export declare const SOURCES: unique symbol;
4
18
  export declare const TESTS: unique symbol;
5
19
  export declare const TEMPLATES: unique symbol;
@@ -81,3 +95,4 @@ export interface NxPluginChecksRuleConfig {
81
95
  allowedVersionStrings?: string[];
82
96
  tsConfig?: string;
83
97
  }
98
+ export {};
@@ -1 +1 @@
1
- {"version":3,"file":"interfaces.js","sourceRoot":"/","sources":["src/interfaces.ts"],"names":[],"mappings":"AAGA,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AACzC,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;AACrC,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AAC7C,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;AACrC,MAAM,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;AAC/B,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC"}
1
+ {"version":3,"file":"interfaces.js","sourceRoot":"/","sources":["src/interfaces.ts"],"names":[],"mappings":"AAqBA,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC;AACzC,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;AACrC,MAAM,CAAC,MAAM,SAAS,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC;AAC7C,MAAM,CAAC,MAAM,KAAK,GAAG,MAAM,CAAC,OAAO,CAAC,CAAC;AACrC,MAAM,CAAC,MAAM,EAAE,GAAG,MAAM,CAAC,IAAI,CAAC,CAAC;AAC/B,MAAM,CAAC,MAAM,OAAO,GAAG,MAAM,CAAC,SAAS,CAAC,CAAC"}
@@ -1 +1 @@
1
- {"root":["../index.ts","../src/angular/index.ts","../src/json/index.ts","../src/nx/index.ts","../src/typescript/index.ts","../src/builder/index.ts"],"version":"5.9.3"}
1
+ {"root":["../index.ts","../src/angular/index.ts","../src/json/index.ts","../src/nx/index.ts","../src/typescript/index.ts","../src/builder/index.ts"],"version":"6.0.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@chris.araneo/eslint-config",
3
- "version": "0.0.139",
3
+ "version": "0.0.140",
4
4
  "description": "ESLint shareable configuration",
5
5
  "keywords": [
6
6
  "eslint",
@@ -34,40 +34,41 @@
34
34
  "test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage"
35
35
  },
36
36
  "dependencies": {
37
- "@chris.araneo/eslint-plugin-ng-perfectionist": "0.0.2",
38
- "@eslint/json": "^1.0.1",
37
+ "@chris.araneo/eslint-plugin-ng-perfectionist": "^0.0.5",
38
+ "@eslint/js": "^10.0.1",
39
+ "@eslint/json": "^2.0.1",
39
40
  "@humanwhocodes/momoa": "^3.3.10",
40
- "@nx/eslint-plugin": "^22.3.3",
41
- "@stylistic/eslint-plugin": "^5.9.0",
42
- "angular-eslint": "^21.2.0",
41
+ "@nx/eslint-plugin": "^23.1.1",
42
+ "@stylistic/eslint-plugin": "^5.10.0",
43
+ "angular-eslint": "^22.1.0",
43
44
  "app-root-dir": "^1.0.2",
44
- "eslint": "^9.39.3",
45
- "eslint-plugin-import": "^2.32.0",
46
- "eslint-plugin-jsonc": "^3.0.0",
45
+ "eslint": "^10.8.0",
46
+ "eslint-plugin-import-x": "^4.17.1",
47
+ "eslint-plugin-jsonc": "^3.3.0",
47
48
  "eslint-plugin-jsx-a11y": "^6.10.2",
48
- "eslint-plugin-perfectionist": "^5.6.0",
49
+ "eslint-plugin-perfectionist": "^5.10.0",
49
50
  "eslint-plugin-react": "^7.37.5",
50
- "eslint-plugin-react-hooks": "^7.0.1",
51
- "eslint-plugin-simple-import-sort": "^12.1.1",
52
- "eslint-plugin-unicorn": "^63.0.0",
51
+ "eslint-plugin-react-hooks": "^7.1.1",
52
+ "eslint-plugin-simple-import-sort": "^14.0.0",
53
+ "eslint-plugin-unicorn": "^72.0.0",
53
54
  "jsonc-eslint-parser": "^3.1.0",
54
- "lodash-es": "^4.17.23",
55
+ "lodash-es": "^4.18.1",
55
56
  "ts-pattern": "^5.9.0",
56
- "typescript-eslint": "^8.56.0"
57
+ "typescript-eslint": "^8.65.0"
57
58
  },
58
59
  "devDependencies": {
59
- "@jest/globals": "^30.2.0",
60
+ "@jest/globals": "^30.4.1",
60
61
  "@types/app-root-dir": "^0.1.4",
61
62
  "@types/jest": "^30.0.0",
62
63
  "@types/lodash-es": "^4.17.12",
63
- "jest": "^30.2.0",
64
- "jiti": "^2.6.1",
65
- "prettier": "^3.8.1",
64
+ "jest": "^30.4.2",
65
+ "jiti": "^2.7.0",
66
+ "prettier": "^3.9.6",
66
67
  "rimraf": "^6.1.3",
67
- "sort-package-json": "^3.6.1",
68
- "ts-jest": "^29.4.6",
68
+ "sort-package-json": "^4.0.0",
69
+ "ts-jest": "^29.4.12",
69
70
  "ts-node": "^10.9.2",
70
- "typescript": "^5.9.3"
71
+ "typescript": "^6.0.3"
71
72
  },
72
73
  "engines": {
73
74
  "node": ">=24.0.0",