@elementx-ai/eslint-config 8.2.0 → 8.3.0
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/.github/workflows/release-please.yaml +16 -18
- package/.nvmrc +1 -0
- package/CHANGELOG.md +21 -0
- package/configs/js.js +3 -3
- package/configs/jsx.js +1 -3
- package/configs/ts.js +4 -3
- package/configs/tsx.js +1 -3
- package/lib/common.js +10 -0
- package/package.json +1 -2
|
@@ -1,45 +1,43 @@
|
|
|
1
1
|
name: Release please
|
|
2
2
|
|
|
3
|
-
env:
|
|
4
|
-
RELEASE_TYPE: node
|
|
5
|
-
|
|
6
3
|
on:
|
|
7
4
|
push:
|
|
8
5
|
branches:
|
|
9
6
|
- master
|
|
10
7
|
- main
|
|
11
8
|
|
|
9
|
+
permissions:
|
|
10
|
+
id-token: write
|
|
11
|
+
contents: write
|
|
12
|
+
issues: write
|
|
13
|
+
pull-requests: write
|
|
14
|
+
|
|
12
15
|
jobs:
|
|
13
16
|
release-please:
|
|
14
17
|
runs-on: ubuntu-latest
|
|
15
18
|
outputs:
|
|
16
|
-
|
|
19
|
+
release_created: ${{ steps.release.outputs.release_created }}
|
|
17
20
|
major: ${{ steps.release.outputs.major }}
|
|
18
21
|
minor: ${{ steps.release.outputs.minor }}
|
|
19
22
|
patch: ${{ steps.release.outputs.patch }}
|
|
20
|
-
|
|
21
23
|
steps:
|
|
22
24
|
- name: Release please
|
|
23
|
-
uses: google-github-actions/release-please-action@
|
|
25
|
+
uses: google-github-actions/release-please-action@v4
|
|
24
26
|
id: release
|
|
25
27
|
with:
|
|
26
|
-
release-type:
|
|
27
|
-
package-name:
|
|
28
|
+
release-type: node
|
|
29
|
+
package-name: '@elementx-ai/eslint-config'
|
|
28
30
|
|
|
29
31
|
build-and-publish-npm:
|
|
30
32
|
runs-on: ubuntu-latest
|
|
31
33
|
needs: [release-please]
|
|
32
|
-
if: needs.release-please.outputs.
|
|
34
|
+
if: needs.release-please.outputs.release_created
|
|
33
35
|
steps:
|
|
34
|
-
- uses: actions/checkout@
|
|
35
|
-
|
|
36
|
-
- uses: actions/setup-node@v3
|
|
36
|
+
- uses: actions/checkout@v4
|
|
37
|
+
- uses: actions/setup-node@v4
|
|
37
38
|
with:
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
39
|
+
node-version: 24
|
|
40
|
+
registry-url: 'https://registry.npmjs.org'
|
|
41
|
+
scope: '@elementx-ai'
|
|
41
42
|
- run: npm ci
|
|
42
|
-
|
|
43
43
|
- run: npm publish --access public
|
|
44
|
-
env:
|
|
45
|
-
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
package/.nvmrc
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
24
|
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,27 @@
|
|
|
2
2
|
|
|
3
3
|
This repository adheres to semantic versioning and follows the conventions of [keepachangelog.com](http://keepachangelog.com)
|
|
4
4
|
|
|
5
|
+
## [8.3.0](https://github.com/elementx-ai/eslint-config/compare/v8.2.2...v8.3.0) (2026-03-14)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* Revert eslint-stylistic changes ([#48](https://github.com/elementx-ai/eslint-config/issues/48)) ([91f76b3](https://github.com/elementx-ai/eslint-config/commit/91f76b31505650a1f2119a0460152772a5606bb5))
|
|
11
|
+
|
|
12
|
+
## [8.2.2](https://github.com/elementx-ai/eslint-config/compare/v8.2.1...v8.2.2) (2026-03-14)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* Explicit node version ([#46](https://github.com/elementx-ai/eslint-config/issues/46)) ([9054090](https://github.com/elementx-ai/eslint-config/commit/90540900ed95216d4f00c525f073863332305f80))
|
|
18
|
+
|
|
19
|
+
## [8.2.1](https://github.com/elementx-ai/eslint-config/compare/v8.2.0...v8.2.1) (2026-03-14)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* remove prettier-overridden style rules ([#44](https://github.com/elementx-ai/eslint-config/issues/44)) ([30f8421](https://github.com/elementx-ai/eslint-config/commit/30f8421670676d282747b0f6301ec9f82da34ae1))
|
|
25
|
+
|
|
5
26
|
## [8.2.0](https://github.com/elementx-ai/eslint-config/compare/v8.1.1...v8.2.0) (2026-03-11)
|
|
6
27
|
|
|
7
28
|
|
package/configs/js.js
CHANGED
package/configs/jsx.js
CHANGED
package/configs/ts.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import eslintConfigPrettier from "eslint-config-prettier/flat";
|
|
2
|
-
|
|
3
1
|
import common from "../lib/common.js";
|
|
4
2
|
import typescript from "../lib/typescript.js";
|
|
5
3
|
|
|
6
|
-
export default [
|
|
4
|
+
export default [
|
|
5
|
+
...common,
|
|
6
|
+
...typescript,
|
|
7
|
+
];
|
package/configs/tsx.js
CHANGED
|
@@ -1,7 +1,5 @@
|
|
|
1
|
-
import eslintConfigPrettier from "eslint-config-prettier/flat";
|
|
2
|
-
|
|
3
1
|
import common from "../lib/common.js";
|
|
4
2
|
import react from "../lib/react.js";
|
|
5
3
|
import typescript from "../lib/typescript.js";
|
|
6
4
|
|
|
7
|
-
export default [...common, ...typescript, ...react
|
|
5
|
+
export default [...common, ...typescript, ...react];
|
package/lib/common.js
CHANGED
|
@@ -103,6 +103,16 @@ export default [
|
|
|
103
103
|
asyncArrow: "always",
|
|
104
104
|
},
|
|
105
105
|
],
|
|
106
|
+
"comma-dangle": [
|
|
107
|
+
"error",
|
|
108
|
+
{
|
|
109
|
+
arrays: "always-multiline",
|
|
110
|
+
objects: "always-multiline",
|
|
111
|
+
imports: "always-multiline",
|
|
112
|
+
exports: "always-multiline",
|
|
113
|
+
functions: "never",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
106
116
|
"prefer-arrow/prefer-arrow-functions": [
|
|
107
117
|
"error",
|
|
108
118
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementx-ai/eslint-config",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.3.0",
|
|
4
4
|
"description": "ElementX's ESLint Config",
|
|
5
5
|
"license": "Unlicense",
|
|
6
6
|
"repository": {
|
|
@@ -21,7 +21,6 @@
|
|
|
21
21
|
"@stylistic/eslint-plugin": "^2.12.1",
|
|
22
22
|
"@typescript-eslint/eslint-plugin": "^8.19.1",
|
|
23
23
|
"@typescript-eslint/parser": "^8.19.1",
|
|
24
|
-
"eslint-config-prettier": "^10.1.3",
|
|
25
24
|
"eslint-plugin-import": "^2.31.0",
|
|
26
25
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
27
26
|
"eslint-plugin-react-hooks": "^5.1.0",
|