eslint-plugin-use-agnostic 1.2.2 → 1.2.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.
@@ -10,13 +10,20 @@ import {
10
10
  import { agnostic20Comments } from "./jscomments/agnostic20/constants/bases.js";
11
11
  import { directive21Comments } from "./jscomments/directive21/constants/bases.js";
12
12
 
13
- const config = Object.freeze({
13
+ export const data = Object.freeze({
14
14
  jsDoc: jSDocComments,
15
15
  tests: testsComments,
16
16
  [agnostic20ConfigName]: agnostic20Comments,
17
17
  [directive21ConfigName]: directive21Comments,
18
18
  });
19
19
 
20
+ const ignores = [];
21
+
22
+ const config = {
23
+ data,
24
+ ignores,
25
+ };
26
+
20
27
  export default config;
21
28
 
22
29
  /* Notes
@@ -11,7 +11,7 @@ import {
11
11
 
12
12
  import { makeIntroForSpecificViolationMessage } from "../../../_commons/utilities/helpers.js";
13
13
 
14
- import jscommentsConfig from "../../../../comments.config.js";
14
+ import { data as jscommentsConfig } from "../../../../comments.config.js";
15
15
 
16
16
  /**
17
17
  * @typedef {import('../../../../types/agnostic20/_commons/typedefs.js').Directive} Directive
@@ -14,7 +14,7 @@ import {
14
14
 
15
15
  import { makeIntroForSpecificViolationMessage } from "../../../_commons/utilities/helpers.js";
16
16
 
17
- import jscommentsConfig from "../../../../comments.config.js";
17
+ import { data as jscommentsConfig } from "../../../../comments.config.js";
18
18
 
19
19
  /**
20
20
  * @typedef {import('../../../../types/directive21/_commons/typedefs.js').CommentedDirective} CommentedDirective
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-use-agnostic",
3
- "version": "1.2.2",
3
+ "version": "1.2.3",
4
4
  "description": "Highlights problematic server-client imports in projects made with the Fullstack React Architecture.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -41,8 +41,8 @@
41
41
  "test": "node tests/agnostic20/import-rules.test.js && node tests/directive21/import-rules.test.js"
42
42
  },
43
43
  "dependencies": {
44
- "get-sourcecode-from-file-path": "^1.0.0",
45
- "resolve-importing-path": "^1.0.2",
44
+ "get-sourcecode-from-file-path": "^1.1.2",
45
+ "resolve-importing-path": "^1.0.3",
46
46
  "tsconfig-paths": "^4.2.0",
47
47
  "typescript-eslint": "^8.32.0"
48
48
  },