@jgarber/eslint-config 4.1.0 → 4.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/index.js +9 -4
- package/package.json +4 -4
package/index.js
CHANGED
|
@@ -53,10 +53,7 @@ export default [
|
|
|
53
53
|
/**
|
|
54
54
|
* @see {@link https://www.npmjs.com/package/eslint-plugin-sort-class-members}
|
|
55
55
|
*/
|
|
56
|
-
|
|
57
|
-
plugins: { "sort-class-members": sortClassMembers },
|
|
58
|
-
rules: sortClassMembers.configs.recommended.rules,
|
|
59
|
-
},
|
|
56
|
+
sortClassMembers.configs["flat/recommended"],
|
|
60
57
|
|
|
61
58
|
/**
|
|
62
59
|
* @see {@link https://www.npmjs.com/package/@jgarber/eslint-config}
|
|
@@ -137,6 +134,14 @@ export default [
|
|
|
137
134
|
*/
|
|
138
135
|
"@stylistic/operator-linebreak": ["error", "after"],
|
|
139
136
|
|
|
137
|
+
/**
|
|
138
|
+
* Disallow quotes around object literal property names that are not
|
|
139
|
+
* strictly required.
|
|
140
|
+
*
|
|
141
|
+
* @see {@link https://eslint.style/rules/default/quote-props}
|
|
142
|
+
*/
|
|
143
|
+
"@stylistic/quote-props": ["error", "as-needed"],
|
|
144
|
+
|
|
140
145
|
/**
|
|
141
146
|
* Enforce consistent spacing before function parentheses.
|
|
142
147
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jgarber/eslint-config",
|
|
3
|
-
"version": "4.1
|
|
3
|
+
"version": "4.2.1",
|
|
4
4
|
"description": "Shareable ESLint configuration.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"config",
|
|
@@ -31,12 +31,12 @@
|
|
|
31
31
|
},
|
|
32
32
|
"dependencies": {
|
|
33
33
|
"@eslint/js": "^8.56.0",
|
|
34
|
-
"@stylistic/eslint-plugin": "^1.6.
|
|
34
|
+
"@stylistic/eslint-plugin": "^1.6.2",
|
|
35
35
|
"eslint-plugin-array-func": "^5.0.1",
|
|
36
|
-
"eslint-plugin-jsdoc": "^48.0
|
|
36
|
+
"eslint-plugin-jsdoc": "^48.1.0",
|
|
37
37
|
"eslint-plugin-n": "^16.6.2",
|
|
38
38
|
"eslint-plugin-regexp": "^2.2.0",
|
|
39
|
-
"eslint-plugin-sort-class-members": "^1.
|
|
39
|
+
"eslint-plugin-sort-class-members": "^1.20.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"eslint": "^8.56.0"
|