@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 +14 -0
- package/README.md +2 -2
- package/eslint.config.js +2 -2
- package/index.js +2 -2
- package/lib/common.js +14 -0
- package/lib/typescript.js +3 -1
- package/package.json +1 -1
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
|
|
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
|
|
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":
|
|
9
|
+
"import": _import,
|
|
10
10
|
},
|
|
11
11
|
rules: {
|
|
12
12
|
"import/no-default-export": "off",
|
package/index.js
CHANGED
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