@theholocron/eslint-config 8.9.0-alpha.3 → 8.9.0-alpha.4

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
@@ -85,7 +85,7 @@ export default [...library()];
85
85
 
86
86
  // With browser-targeted packages (turns off a Node-builtins rule that
87
87
  // false-positives on navigator/sessionStorage/KeyboardEvent/…):
88
- export default [...library({ browserPackages: ["packages/browser-utils/src"] })];
88
+ export default [...library({ browserPackages: ["utils/browser-utils/src"] })];
89
89
  ```
90
90
 
91
91
  Add project-specific configs after the bundle — they are merged in order:
@@ -5,8 +5,9 @@ export interface LibraryOptions {
5
5
  * `n/no-unsupported-features/node-builtins` false-positives on browser
6
6
  * APIs (`navigator`, `sessionStorage`, `KeyboardEvent`, …) it doesn't
7
7
  * recognize. Each entry gets a `<glob>/**` files match with the rule
8
- * turned off. Rare — most repos need nothing here (`theholocron/utils`
9
- * is the one org repo that does, for its browser-targeted packages).
8
+ * turned off. Rare — most repos need nothing here (`utils/` in
9
+ * `theholocron/holocron` is the one place that does, for its
10
+ * browser-targeted packages).
10
11
  */
11
12
  browserPackages?: string[];
12
13
  }
@@ -27,9 +28,9 @@ export interface LibraryOptions {
27
28
  * `recommended-module` preset sets `n/no-extraneous-import: "error"` with no
28
29
  * `files` restriction, which otherwise clobbers `base()`'s earlier, more
29
30
  * specific `docs/src/**` exemption (flat config merges in array order, later
30
- * entries win per rule per matching file). Found live: `theholocron/clients`
31
- * still needed its own local override for this despite `base()` already
32
- * covering it in isolation.
31
+ * entries win per rule per matching file). Found live: the former
32
+ * `theholocron/clients` repo still needed its own local override for this
33
+ * despite `base()` already covering it in isolation.
33
34
  */
34
35
  export declare function library(options?: LibraryOptions): Linter.Config[];
35
36
  /**
@@ -21,9 +21,9 @@ import { vitest as vitestConfig } from "../configs/vitest.js";
21
21
  * `recommended-module` preset sets `n/no-extraneous-import: "error"` with no
22
22
  * `files` restriction, which otherwise clobbers `base()`'s earlier, more
23
23
  * specific `docs/src/**` exemption (flat config merges in array order, later
24
- * entries win per rule per matching file). Found live: `theholocron/clients`
25
- * still needed its own local override for this despite `base()` already
26
- * covering it in isolation.
24
+ * entries win per rule per matching file). Found live: the former
25
+ * `theholocron/clients` repo still needed its own local override for this
26
+ * despite `base()` already covering it in isolation.
27
27
  */
28
28
  function library(options = {}) {
29
29
  return [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@theholocron/eslint-config",
3
- "version": "8.9.0-alpha.3",
3
+ "version": "8.9.0-alpha.4",
4
4
  "description": "A ESLint configuration for writing well-formed Javascript within the Galaxy.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -111,7 +111,7 @@
111
111
  "devDependencies": {
112
112
  "@eslint/js": "^10.0.0",
113
113
  "@vitest/coverage-v8": "^5.0.5",
114
- "@vitest/eslint-plugin": "^1.6.23",
114
+ "@vitest/eslint-plugin": "^1.6.27",
115
115
  "eslint-plugin-n": "^18.3.0",
116
116
  "eslint-plugin-simple-import-sort": "^14.0.0",
117
117
  "globals": "^17.11.0",
@@ -119,8 +119,8 @@
119
119
  "typescript": "^5.9.3",
120
120
  "typescript-eslint": "^8.67.0",
121
121
  "vitest": "^5.0.5",
122
- "@theholocron/vitest-config": "8.9.0-alpha.3",
123
- "@theholocron/tsconfig": "8.9.0-alpha.3"
122
+ "@theholocron/tsconfig": "8.9.0-alpha.4",
123
+ "@theholocron/vitest-config": "8.9.0-alpha.4"
124
124
  },
125
125
  "peerDependencies": {
126
126
  "@eslint/js": "^10",