@elementx-ai/eslint-config 6.0.0 → 6.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.
@@ -26,24 +26,6 @@ jobs:
26
26
  release-type: ${{ env.RELEASE_TYPE }}
27
27
  package-name: release-please-action
28
28
 
29
- build-and-publish-ghcr:
30
- runs-on: ubuntu-latest
31
- needs: [release-please]
32
- if: needs.release-please.outputs.releases_created
33
- steps:
34
- - uses: actions/checkout@v3
35
-
36
- - run: npm ci
37
-
38
- - uses: actions/setup-node@v3
39
- with:
40
- registry-url: "https://npm.pkg.github.com"
41
- scope: "@spark64"
42
-
43
- - run: npm publish
44
- env:
45
- NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
46
-
47
29
  build-and-publish-npm:
48
30
  runs-on: ubuntu-latest
49
31
  needs: [release-please]
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
+ ## [6.2.0](https://github.com/spark-64/eslint-config/compare/v6.1.0...v6.2.0) (2022-08-23)
6
+
7
+
8
+ ### Features
9
+
10
+ * Limit scope of trailing comma rule ([#7](https://github.com/spark-64/eslint-config/issues/7)) ([6f6f0f0](https://github.com/spark-64/eslint-config/commit/6f6f0f072e5039a436a292d0c7ad23fde3a73716))
11
+
12
+ ## [6.1.0](https://github.com/spark-64/eslint-config/compare/v6.0.1...v6.1.0) (2022-08-21)
13
+
14
+
15
+ ### Features
16
+
17
+ * Relax naming and complexity rules ([#5](https://github.com/spark-64/eslint-config/issues/5)) ([8404a51](https://github.com/spark-64/eslint-config/commit/8404a510e728b8b8983396136ceb6cfd54851422))
18
+
19
+ ## [6.0.1](https://github.com/spark-64/eslint-config/compare/v6.0.0...v6.0.1) (2022-08-06)
20
+
21
+
22
+ ### Bug Fixes
23
+
24
+ * Remove publishing to ghcr ([#3](https://github.com/spark-64/eslint-config/issues/3)) ([031a80b](https://github.com/spark-64/eslint-config/commit/031a80baf4b4de9513958afebaff5b9397512b0f))
25
+
5
26
  ## [6.0.0](https://github.com/spark-64/eslint-config/compare/v5.0.7...v6.0.0) (2022-08-02)
6
27
 
7
28
 
package/lib/common.js CHANGED
@@ -7,10 +7,9 @@ module.exports = {
7
7
  },
8
8
  plugins: ["prefer-arrow", "import"],
9
9
  rules: {
10
- complexity: ["error", 8],
10
+ complexity: ["error", 10],
11
11
  eqeqeq: ["error", "smart"],
12
12
  quotes: ["error", "double", { allowTemplateLiterals: true }],
13
- camelcase: ["error", { properties: "always", ignoreDestructuring: true }],
14
13
  curly: ["error", "all"],
15
14
  "linebreak-style": ["error", "unix"],
16
15
  "brace-style": ["error", "1tbs"],
@@ -80,8 +79,8 @@ module.exports = {
80
79
  {
81
80
  arrays: "always-multiline",
82
81
  objects: "always-multiline",
83
- imports: "never",
84
- exports: "never",
82
+ imports: "always-multiline",
83
+ exports: "always-multiline",
85
84
  functions: "never",
86
85
  },
87
86
  ],
@@ -110,14 +109,7 @@ module.exports = {
110
109
  "error",
111
110
  {
112
111
  "newlines-between": "always",
113
- groups: [
114
- "external",
115
- "builtin",
116
- "internal",
117
- "sibling",
118
- "parent",
119
- "index",
120
- ],
112
+ groups: ["external", "builtin", "internal", "sibling", "parent", "index"],
121
113
  },
122
114
  ],
123
115
  },
package/lib/typescript.js CHANGED
@@ -34,35 +34,34 @@ module.exports = {
34
34
  "error",
35
35
  {
36
36
  selector: ["default"],
37
- format: ["strictCamelCase"],
37
+ format: ["camelCase"],
38
38
  leadingUnderscore: "allow",
39
39
  },
40
40
  {
41
41
  selector: ["typeLike"],
42
- format: ["StrictPascalCase"],
42
+ format: ["PascalCase"],
43
43
  },
44
44
  {
45
45
  selector: ["variable"],
46
46
  modifiers: ["const"],
47
- format: ["strictCamelCase", "UPPER_CASE"],
47
+ format: ["camelCase", "UPPER_CASE", "snake_case"],
48
48
  leadingUnderscore: "allow",
49
49
  },
50
50
  {
51
51
  selector: ["variable"],
52
52
  modifiers: ["destructured"],
53
- format: ["strictCamelCase", "UPPER_CASE", "snake_case"],
53
+ format: ["camelCase", "UPPER_CASE", "snake_case"],
54
54
  leadingUnderscore: "allow",
55
55
  },
56
56
  {
57
57
  selector: ["memberLike"],
58
58
  modifiers: ["private"],
59
- format: ["strictCamelCase"],
59
+ format: ["camelCase"],
60
60
  leadingUnderscore: "require",
61
61
  },
62
62
  {
63
63
  selector: ["interface"],
64
- prefix: ["I"],
65
- format: ["StrictPascalCase"],
64
+ format: ["PascalCase"],
66
65
  },
67
66
  ],
68
67
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementx-ai/eslint-config",
3
- "version": "6.0.0",
3
+ "version": "6.2.0",
4
4
  "description": "Spark 64's eslint config",
5
5
  "license": "Unlicense",
6
6
  "repository": {