@repodog/eslint-config 1.1.11 → 1.1.13
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.cjs +19 -1
- package/package.json +2 -1
package/index.cjs
CHANGED
|
@@ -87,7 +87,15 @@ module.exports = {
|
|
|
87
87
|
},
|
|
88
88
|
],
|
|
89
89
|
parser: '@babel/eslint-parser',
|
|
90
|
-
plugins: [
|
|
90
|
+
plugins: [
|
|
91
|
+
'import',
|
|
92
|
+
'prefer-arrow',
|
|
93
|
+
'sort-class-members',
|
|
94
|
+
'sort-destructure-keys',
|
|
95
|
+
'sort-keys-fix',
|
|
96
|
+
'unicorn',
|
|
97
|
+
'prettier',
|
|
98
|
+
],
|
|
91
99
|
rules: {
|
|
92
100
|
'import/extensions': [2, 'ignorePackages'],
|
|
93
101
|
'import/namespace': 0,
|
|
@@ -158,6 +166,15 @@ module.exports = {
|
|
|
158
166
|
{ blankLine: 'always', next: 'default', prev: '*' },
|
|
159
167
|
{ blankLine: 'always', next: '*', prev: 'break' },
|
|
160
168
|
],
|
|
169
|
+
'prefer-arrow/prefer-arrow-functions': [
|
|
170
|
+
2,
|
|
171
|
+
{
|
|
172
|
+
allowStandaloneDeclarations: false,
|
|
173
|
+
classPropertiesAllowed: true,
|
|
174
|
+
disallowPrototype: true,
|
|
175
|
+
singleReturnOnly: false,
|
|
176
|
+
},
|
|
177
|
+
],
|
|
161
178
|
'prettier/prettier': 2,
|
|
162
179
|
'sort-class-members/sort-class-members': [
|
|
163
180
|
2,
|
|
@@ -223,6 +240,7 @@ module.exports = {
|
|
|
223
240
|
/.*arg.*/i,
|
|
224
241
|
/.*args.*/i,
|
|
225
242
|
/.*db.*/i,
|
|
243
|
+
/.*def.*/i,
|
|
226
244
|
/.*dev.*/i,
|
|
227
245
|
/.*dir.*/i,
|
|
228
246
|
/.*env.*/i,
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@repodog/eslint-config",
|
|
3
3
|
"description": "The RepoDog ESLint config module.",
|
|
4
|
-
"version": "1.1.
|
|
4
|
+
"version": "1.1.13",
|
|
5
5
|
"author": "Dylan Aubrey",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/badbatch/repodog",
|
|
@@ -23,6 +23,7 @@
|
|
|
23
23
|
"eslint-config-prettier": "<9",
|
|
24
24
|
"eslint-import-resolver-typescript": "<4",
|
|
25
25
|
"eslint-plugin-import": "<3",
|
|
26
|
+
"eslint-plugin-prefer-arrow": "<2",
|
|
26
27
|
"eslint-plugin-prettier": "<5",
|
|
27
28
|
"eslint-plugin-sort-class-members": "<2",
|
|
28
29
|
"eslint-plugin-sort-destructure-keys": "<2",
|