@elementx-ai/eslint-config 8.1.1 → 8.2.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/CHANGELOG.md +7 -0
- package/configs/js.js +3 -3
- package/configs/jsx.js +3 -1
- package/configs/ts.js +3 -4
- package/configs/tsx.js +3 -1
- package/lib/common.js +0 -10
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
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.0](https://github.com/elementx-ai/eslint-config/compare/v8.1.1...v8.2.0) (2026-03-11)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Features
|
|
9
|
+
|
|
10
|
+
* Add prettier eslint config ([#41](https://github.com/elementx-ai/eslint-config/issues/41)) ([4992f91](https://github.com/elementx-ai/eslint-config/commit/4992f91d47e7241d8abc4e8e1d84d68251500ea7))
|
|
11
|
+
|
|
5
12
|
## [8.1.1](https://github.com/elementx-ai/eslint-config/compare/v8.1.0...v8.1.1) (2025-01-28)
|
|
6
13
|
|
|
7
14
|
|
package/configs/js.js
CHANGED
package/configs/jsx.js
CHANGED
package/configs/ts.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
|
+
import eslintConfigPrettier from "eslint-config-prettier/flat";
|
|
2
|
+
|
|
1
3
|
import common from "../lib/common.js";
|
|
2
4
|
import typescript from "../lib/typescript.js";
|
|
3
5
|
|
|
4
|
-
export default [
|
|
5
|
-
...common,
|
|
6
|
-
...typescript,
|
|
7
|
-
];
|
|
6
|
+
export default [...common, ...typescript, eslintConfigPrettier];
|
package/configs/tsx.js
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
|
+
import eslintConfigPrettier from "eslint-config-prettier/flat";
|
|
2
|
+
|
|
1
3
|
import common from "../lib/common.js";
|
|
2
4
|
import react from "../lib/react.js";
|
|
3
5
|
import typescript from "../lib/typescript.js";
|
|
4
6
|
|
|
5
|
-
export default [...common, ...typescript, ...react];
|
|
7
|
+
export default [...common, ...typescript, ...react, eslintConfigPrettier];
|
package/lib/common.js
CHANGED
|
@@ -103,16 +103,6 @@ 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
|
-
],
|
|
116
106
|
"prefer-arrow/prefer-arrow-functions": [
|
|
117
107
|
"error",
|
|
118
108
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementx-ai/eslint-config",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.2.0",
|
|
4
4
|
"description": "ElementX's ESLint Config",
|
|
5
5
|
"license": "Unlicense",
|
|
6
6
|
"repository": {
|
|
@@ -21,6 +21,7 @@
|
|
|
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",
|
|
24
25
|
"eslint-plugin-import": "^2.31.0",
|
|
25
26
|
"eslint-plugin-prefer-arrow": "^1.2.3",
|
|
26
27
|
"eslint-plugin-react-hooks": "^5.1.0",
|