@elementx-ai/eslint-config 7.1.1 → 7.2.1
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/lib/typescript.js +6 -1
- package/package.json +6 -6
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
|
+
## [7.2.1](https://github.com/elementx-ai/eslint-config/compare/v7.2.0...v7.2.1) (2024-10-06)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* Don't need no-undef for Typescript ([#23](https://github.com/elementx-ai/eslint-config/issues/23)) ([cfc9ed8](https://github.com/elementx-ai/eslint-config/commit/cfc9ed898b3733b12ac66f454f0079bd53e78a42))
|
|
11
|
+
|
|
12
|
+
## [7.2.0](https://github.com/elementx-ai/eslint-config/compare/v7.1.1...v7.2.0) (2023-12-06)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Features
|
|
16
|
+
|
|
17
|
+
* Move parser and plugin to peerDeps ([#21](https://github.com/elementx-ai/eslint-config/issues/21)) ([6df5c60](https://github.com/elementx-ai/eslint-config/commit/6df5c60475ba4ceabbbcb204f8f9e52644a1ef2d))
|
|
18
|
+
|
|
5
19
|
## [7.1.1](https://github.com/elementx-ai/eslint-config/compare/v7.1.0...v7.1.1) (2023-04-27)
|
|
6
20
|
|
|
7
21
|
|
package/lib/typescript.js
CHANGED
|
@@ -10,6 +10,7 @@ module.exports = {
|
|
|
10
10
|
"@typescript-eslint/no-unused-vars": ["error"],
|
|
11
11
|
"@typescript-eslint/semi": ["error", "always"],
|
|
12
12
|
"@typescript-eslint/type-annotation-spacing": ["error"],
|
|
13
|
+
"@typescript-eslint/no-undef": "off",
|
|
13
14
|
"@typescript-eslint/indent": [
|
|
14
15
|
"error",
|
|
15
16
|
2,
|
|
@@ -37,6 +38,10 @@ module.exports = {
|
|
|
37
38
|
format: ["camelCase"],
|
|
38
39
|
leadingUnderscore: "allow",
|
|
39
40
|
},
|
|
41
|
+
{
|
|
42
|
+
selector: "import",
|
|
43
|
+
format: ["camelCase", "PascalCase"],
|
|
44
|
+
},
|
|
40
45
|
{
|
|
41
46
|
selector: ["typeLike", "enumMember"],
|
|
42
47
|
format: ["PascalCase"],
|
|
@@ -59,7 +64,7 @@ module.exports = {
|
|
|
59
64
|
"objectLiteralMethod",
|
|
60
65
|
"typeMethod",
|
|
61
66
|
"accessor",
|
|
62
|
-
"enumMember"
|
|
67
|
+
"enumMember",
|
|
63
68
|
],
|
|
64
69
|
modifiers: ["requiresQuotes"],
|
|
65
70
|
format: null,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elementx-ai/eslint-config",
|
|
3
|
-
"version": "7.
|
|
4
|
-
"description": "
|
|
3
|
+
"version": "7.2.1",
|
|
4
|
+
"description": "ElementX's ESLint Config",
|
|
5
5
|
"license": "Unlicense",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
@@ -16,12 +16,12 @@
|
|
|
16
16
|
],
|
|
17
17
|
"main": "index.js",
|
|
18
18
|
"dependencies": {
|
|
19
|
-
"
|
|
20
|
-
"@typescript-eslint/eslint-plugin": "^5.42.1",
|
|
21
|
-
"eslint-plugin-import": "^2.26.0",
|
|
19
|
+
"eslint-plugin-import": "^2.29.0",
|
|
22
20
|
"eslint-plugin-prefer-arrow": "^1.2.3"
|
|
23
21
|
},
|
|
24
22
|
"peerDependencies": {
|
|
25
|
-
"eslint": "^8.0.1"
|
|
23
|
+
"eslint": "^8.0.1",
|
|
24
|
+
"@typescript-eslint/eslint-plugin": "^6.12.0",
|
|
25
|
+
"@typescript-eslint/parser": "^6.12.0"
|
|
26
26
|
}
|
|
27
27
|
}
|