@elementx-ai/eslint-config 8.2.0 → 8.2.2

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.
@@ -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
- releases_created: ${{ steps.release.outputs.releases_created }}
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@v3
25
+ uses: google-github-actions/release-please-action@v4
24
26
  id: release
25
27
  with:
26
- release-type: ${{ env.RELEASE_TYPE }}
27
- package-name: release-please-action
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.releases_created
34
+ if: needs.release-please.outputs.release_created
33
35
  steps:
34
- - uses: actions/checkout@v3
35
-
36
- - uses: actions/setup-node@v3
36
+ - uses: actions/checkout@v4
37
+ - uses: actions/setup-node@v4
37
38
  with:
38
- registry-url: "https://registry.npmjs.org"
39
- scope: "@elementx-ai"
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,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.2.2](https://github.com/elementx-ai/eslint-config/compare/v8.2.1...v8.2.2) (2026-03-14)
6
+
7
+
8
+ ### Bug Fixes
9
+
10
+ * Explicit node version ([#46](https://github.com/elementx-ai/eslint-config/issues/46)) ([9054090](https://github.com/elementx-ai/eslint-config/commit/90540900ed95216d4f00c525f073863332305f80))
11
+
12
+ ## [8.2.1](https://github.com/elementx-ai/eslint-config/compare/v8.2.0...v8.2.1) (2026-03-14)
13
+
14
+
15
+ ### Bug Fixes
16
+
17
+ * 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))
18
+
5
19
  ## [8.2.0](https://github.com/elementx-ai/eslint-config/compare/v8.1.1...v8.2.0) (2026-03-11)
6
20
 
7
21
 
package/configs/jsx.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import eslintConfigPrettier from "eslint-config-prettier/flat";
2
2
 
3
- import common from "../lib/common";
3
+ import common from "../lib/common.js";
4
4
  import react from "../lib/react.js";
5
5
 
6
6
  export default [...common, ...react, eslintConfigPrettier];
package/lib/common.js CHANGED
@@ -1,5 +1,4 @@
1
1
  import eslint from "@eslint/js";
2
- import stylistic from "@stylistic/eslint-plugin";
3
2
  import _import from "eslint-plugin-import";
4
3
  import preferArrow from "eslint-plugin-prefer-arrow";
5
4
  import globals from "globals";
@@ -28,31 +27,16 @@ export default [
28
27
  plugins: {
29
28
  "prefer-arrow": preferArrow,
30
29
  import: _import,
31
- "@stylistic": stylistic,
32
30
  },
33
31
  rules: {
34
32
  complexity: ["error", 10],
35
33
  eqeqeq: ["error", "smart"],
36
- quotes: ["error", "double", { allowTemplateLiterals: true }],
37
34
  curly: ["error", "all"],
38
- "brace-style": ["error", "1tbs"],
39
- "eol-last": ["error", "always"],
40
- "space-in-parens": ["error", "never"],
41
- "no-multi-spaces": ["error"],
42
- "no-trailing-spaces": ["error"],
43
- "object-curly-spacing": ["error", "always"],
44
- "array-bracket-spacing": ["error", "never"],
45
- "space-before-blocks": ["error"],
46
35
  "import/no-default-export": "error",
47
36
  "arrow-body-style": ["error", "as-needed"],
48
37
  "no-return-await": ["error"],
49
38
  "default-case-last": ["error"],
50
39
  "no-console": "off",
51
- "no-multiple-empty-lines": ["error", { max: 1, maxBOF: 0, maxEOF: 0 }],
52
- "comma-spacing": ["error", { before: false, after: true }],
53
- "generator-star-spacing": ["error", { before: false, after: true }],
54
- "arrow-spacing": ["error", { before: true, after: true }],
55
- "keyword-spacing": ["error", { before: true, after: true }],
56
40
  "no-unused-vars": [
57
41
  "error",
58
42
  {
@@ -61,14 +45,6 @@ export default [
61
45
  caughtErrorsIgnorePattern: "^_",
62
46
  },
63
47
  ],
64
- indent: [
65
- "error",
66
- 2,
67
- {
68
- SwitchCase: 1,
69
- },
70
- ],
71
- "@stylistic/semi": ["error", "always"],
72
48
  "prefer-const": [
73
49
  "error",
74
50
  {
@@ -83,26 +59,6 @@ export default [
83
59
  skipComments: true,
84
60
  },
85
61
  ],
86
- "max-len": [
87
- "error",
88
- {
89
- code: 120,
90
- ignoreComments: true,
91
- ignoreTrailingComments: true,
92
- ignoreUrls: true,
93
- ignoreStrings: true,
94
- ignoreTemplateLiterals: true,
95
- ignoreRegExpLiterals: true,
96
- },
97
- ],
98
- "space-before-function-paren": [
99
- "error",
100
- {
101
- anonymous: "never",
102
- named: "never",
103
- asyncArrow: "always",
104
- },
105
- ],
106
62
  "prefer-arrow/prefer-arrow-functions": [
107
63
  "error",
108
64
  {
@@ -138,7 +94,6 @@ export default [
138
94
  ],
139
95
  },
140
96
  ],
141
- "padded-blocks": ["error", "never"],
142
97
  },
143
98
  },
144
99
  {
package/lib/typescript.js CHANGED
@@ -1,4 +1,3 @@
1
- import stylistic from "@stylistic/eslint-plugin";
2
1
  import typescript from "@typescript-eslint/eslint-plugin";
3
2
  import parser from "@typescript-eslint/parser";
4
3
 
@@ -14,32 +13,10 @@ export default [
14
13
  },
15
14
  },
16
15
  plugins: {
17
- "@stylistic": stylistic,
18
16
  "@typescript-eslint": typescript,
19
17
  },
20
18
  rules: {
21
19
  "no-undef": "off",
22
- "@stylistic/type-annotation-spacing": ["error"],
23
- "@stylistic/indent": [
24
- "error",
25
- 2,
26
- {
27
- SwitchCase: 1,
28
- },
29
- ],
30
- "@stylistic/member-delimiter-style": [
31
- "error",
32
- {
33
- multiline: {
34
- delimiter: "semi",
35
- requireLast: true,
36
- },
37
- singleline: {
38
- delimiter: "semi",
39
- requireLast: false,
40
- },
41
- },
42
- ],
43
20
  "@typescript-eslint/prefer-namespace-keyword": ["error"],
44
21
  "@typescript-eslint/no-unused-vars": [
45
22
  "error",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementx-ai/eslint-config",
3
- "version": "8.2.0",
3
+ "version": "8.2.2",
4
4
  "description": "ElementX's ESLint Config",
5
5
  "license": "Unlicense",
6
6
  "repository": {
@@ -18,7 +18,6 @@
18
18
  "main": "index.js",
19
19
  "type": "module",
20
20
  "dependencies": {
21
- "@stylistic/eslint-plugin": "^2.12.1",
22
21
  "@typescript-eslint/eslint-plugin": "^8.19.1",
23
22
  "@typescript-eslint/parser": "^8.19.1",
24
23
  "eslint-config-prettier": "^10.1.3",