@elementx-ai/eslint-config 8.0.1 → 8.0.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.
package/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  This repository adheres to semantic versioning and follows the conventions of [keepachangelog.com](http://keepachangelog.com)
4
4
 
5
+ ## [8.0.3](https://github.com/elementx-ai/eslint-config/compare/v8.0.2...v8.0.3) (2025-01-09)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Update typescript projectService rule, eslint.config.js linting ([#33](https://github.com/elementx-ai/eslint-config/issues/33)) ([9a28c55](https://github.com/elementx-ai/eslint-config/commit/9a28c553cba6e93021459e25bb0a7e5295503191))
11
+
12
+ ## [8.0.2](https://github.com/elementx-ai/eslint-config/compare/v8.0.1...v8.0.2) (2025-01-08)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * Update README ([#31](https://github.com/elementx-ai/eslint-config/issues/31)) ([ae56e32](https://github.com/elementx-ai/eslint-config/commit/ae56e3278a17b3d3dee531cffbff377f74684978))
18
+
5
19
  ## [8.0.1](https://github.com/elementx-ai/eslint-config/compare/v8.0.0...v8.0.1) (2025-01-08)
6
20
 
7
21
 
package/README.md CHANGED
@@ -18,11 +18,11 @@ e.g. using the `ts` linting rules (additional rules can be added to the array)
18
18
 
19
19
  ```js
20
20
  // eslint.config.js
21
- import ts from "@elementx-ai/eslint-config/configs/ts";
21
+ import ts from "@elementx-ai/eslint-config/configs/ts.js";
22
22
 
23
23
  export default [
24
24
  ...ts,
25
- // anything from here will override myconfig
25
+ // anything from here will override ts
26
26
  {
27
27
  rules: {
28
28
  "no-unused-vars": "warn"
package/eslint.config.js CHANGED
@@ -1,4 +1,4 @@
1
- import importPlugin from "eslint-plugin-import";
1
+ import _import from "eslint-plugin-import";
2
2
 
3
3
  import config from "./index.js";
4
4
 
@@ -6,7 +6,7 @@ export default [
6
6
  ...config,
7
7
  {
8
8
  plugins: {
9
- "import": importPlugin,
9
+ "import": _import,
10
10
  },
11
11
  rules: {
12
12
  "import/no-default-export": "off",
package/index.js CHANGED
@@ -1,5 +1,5 @@
1
- import node from "./configs/js.js";
1
+ import js from "./configs/js.js";
2
2
 
3
3
  export default [
4
- ...node,
4
+ ...js,
5
5
  ];
package/lib/common.js CHANGED
@@ -124,4 +124,18 @@ export default [
124
124
  "padded-blocks": ["error", "never"],
125
125
  },
126
126
  },
127
+ {
128
+ files: [
129
+ "eslint.config.js",
130
+ "*eslint.config.js",
131
+ "**/eslint.config.js",
132
+ "**/*eslint.config.js",
133
+ ],
134
+ plugins: {
135
+ "import": _import,
136
+ },
137
+ rules: {
138
+ "import/no-default-export": "off",
139
+ },
140
+ },
127
141
  ];
package/lib/typescript.js CHANGED
@@ -7,7 +7,9 @@ export default [
7
7
  languageOptions: {
8
8
  parser: parser,
9
9
  parserOptions: {
10
- projectService: true,
10
+ projectService: {
11
+ allowDefaultProject: ["*.js"],
12
+ },
11
13
  },
12
14
  },
13
15
  plugins: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementx-ai/eslint-config",
3
- "version": "8.0.1",
3
+ "version": "8.0.3",
4
4
  "description": "ElementX's ESLint Config",
5
5
  "license": "Unlicense",
6
6
  "repository": {