@elementx-ai/eslint-config 6.1.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.
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
+ ## [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
+
5
12
  ## [6.1.0](https://github.com/spark-64/eslint-config/compare/v6.0.1...v6.1.0) (2022-08-21)
6
13
 
7
14
 
package/lib/common.js CHANGED
@@ -74,7 +74,16 @@ module.exports = {
74
74
  asyncArrow: "always",
75
75
  },
76
76
  ],
77
- "comma-dangle": ["error", "always-multiline"],
77
+ "comma-dangle": [
78
+ "error",
79
+ {
80
+ arrays: "always-multiline",
81
+ objects: "always-multiline",
82
+ imports: "always-multiline",
83
+ exports: "always-multiline",
84
+ functions: "never",
85
+ },
86
+ ],
78
87
  "prefer-arrow/prefer-arrow-functions": [
79
88
  "error",
80
89
  {
@@ -100,14 +109,7 @@ module.exports = {
100
109
  "error",
101
110
  {
102
111
  "newlines-between": "always",
103
- groups: [
104
- "external",
105
- "builtin",
106
- "internal",
107
- "sibling",
108
- "parent",
109
- "index",
110
- ],
112
+ groups: ["external", "builtin", "internal", "sibling", "parent", "index"],
111
113
  },
112
114
  ],
113
115
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elementx-ai/eslint-config",
3
- "version": "6.1.0",
3
+ "version": "6.2.0",
4
4
  "description": "Spark 64's eslint config",
5
5
  "license": "Unlicense",
6
6
  "repository": {