@morgs32/eslint-config 2.0.4 → 2.0.6

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.
Files changed (2) hide show
  1. package/.eslintrc.js +208 -240
  2. package/package.json +1 -1
package/.eslintrc.js CHANGED
@@ -1,309 +1,277 @@
1
1
  // @ts-check
2
2
  module.exports = {
3
- extends: [
4
- "next/core-web-vitals"
5
- ],
6
- ignorePatterns: [
7
- "**/lib",
8
- "**/dist",
9
- ],
3
+ extends: ['next/core-web-vitals'],
4
+ ignorePatterns: ['**/lib', '**/dist'],
10
5
  settings: {
11
6
  react: {
12
- version: "detect"
13
- }
7
+ version: 'detect',
8
+ },
14
9
  },
15
10
  plugins: [
16
- "import",
17
- "unused-imports",
18
- "react",
19
- "react-hooks",
20
- "jsx-a11y",
21
- "@typescript-eslint",
22
- "jest",
23
- "testing-library",
11
+ 'import',
12
+ 'unused-imports',
13
+ 'react',
14
+ 'react-hooks',
15
+ 'jsx-a11y',
16
+ '@typescript-eslint',
17
+ 'jest',
18
+ 'testing-library',
24
19
  ],
25
-
20
+
26
21
  rules: {
27
- "spaced-comment": ["error", "always", { "markers": ["/"] }],
28
- "unused-imports/no-unused-imports": "error",
29
- "comma-spacing": ["error", { "before": false, "after": true }],
30
- "react/jsx-indent": ["error", 2],
31
- "space-infix-ops": ["error"],
32
- quotes: ["error", "double"],
33
- "space-before-blocks": "error",
34
- "keyword-spacing": "error",
35
- "object-curly-spacing": ["error", "always"],
36
- "object-curly-newline": [
37
- "error",
38
- {
39
- ObjectExpression: {
40
- multiline: true,
41
- minProperties: 3,
42
- consistent: true,
43
- },
44
- ObjectPattern: {
45
- multiline: true,
46
- minProperties: 3,
47
- consistent: true,
48
- },
49
- ImportDeclaration: {
50
- multiline: true,
51
- minProperties: 3,
52
- consistent: true,
53
- },
54
- ExportDeclaration: {
55
- multiline: true,
56
- minProperties: 3,
57
- consistent: true,
58
- },
59
- },
60
- ],
61
- "react/jsx-indent-props": [2, 2],
62
- "react/jsx-first-prop-new-line": [2, "multiline"],
63
-
22
+ 'spaced-comment': ['error', 'always', { markers: ['/'] }],
23
+ 'unused-imports/no-unused-imports': 'error',
24
+ 'comma-spacing': ['error', { before: false, after: true }],
25
+ 'react/jsx-indent': ['error', 2],
26
+ 'space-infix-ops': ['error'],
27
+ quotes: ['error', 'single'],
28
+ 'space-before-blocks': 'error',
29
+ 'keyword-spacing': 'error',
30
+ 'object-curly-spacing': ['error', 'always'],
31
+ 'react/jsx-indent-props': [2, 2],
32
+ 'react/jsx-first-prop-new-line': [2, 'multiline'],
33
+
64
34
  // https://github.com/facebook/create-react-app/blob/main/packages/eslint-config-react-app/index.js
65
- "array-callback-return": "warn",
66
- "default-case": ["warn", { commentPattern: "^no default$" }],
67
- "dot-location": ["warn", "property"],
68
- eqeqeq: ["warn", "smart"],
69
- "new-parens": "warn",
70
- "no-array-constructor": "warn",
71
- "no-caller": "warn",
72
- "no-cond-assign": ["warn", "except-parens"],
73
- "no-const-assign": "warn",
74
- "no-control-regex": "warn",
75
- "no-delete-var": "warn",
76
- "no-dupe-args": "warn",
77
- "no-dupe-class-members": "warn",
78
- "no-dupe-keys": "warn",
79
- "no-duplicate-case": "warn",
80
- "no-empty-character-class": "warn",
81
- "no-empty-pattern": "warn",
82
- "no-eval": "warn",
83
- "no-ex-assign": "warn",
84
- "no-extend-native": "warn",
85
- "no-extra-bind": "warn",
86
- "no-extra-label": "warn",
87
- "no-fallthrough": "warn",
88
- "no-func-assign": "warn",
89
- "no-implied-eval": "warn",
90
- "no-invalid-regexp": "warn",
91
- "no-iterator": "warn",
92
- "no-label-var": "warn",
93
- "no-labels": ["warn", { allowLoop: true, allowSwitch: false }],
94
- "no-lone-blocks": "warn",
95
- "no-loop-func": "warn",
96
- "no-mixed-operators": [
97
- "warn",
35
+ 'array-callback-return': 'warn',
36
+ 'default-case': ['warn', { commentPattern: '^no default$' }],
37
+ 'dot-location': ['warn', 'property'],
38
+ eqeqeq: ['warn', 'smart'],
39
+ 'new-parens': 'warn',
40
+ 'no-array-constructor': 'warn',
41
+ 'no-caller': 'warn',
42
+ 'no-cond-assign': ['warn', 'except-parens'],
43
+ 'no-const-assign': 'warn',
44
+ 'no-control-regex': 'warn',
45
+ 'no-delete-var': 'warn',
46
+ 'no-dupe-args': 'warn',
47
+ 'no-dupe-class-members': 'warn',
48
+ 'no-dupe-keys': 'warn',
49
+ 'no-duplicate-case': 'warn',
50
+ 'no-empty-character-class': 'warn',
51
+ 'no-empty-pattern': 'warn',
52
+ 'no-eval': 'warn',
53
+ 'no-ex-assign': 'warn',
54
+ 'no-extend-native': 'warn',
55
+ 'no-extra-bind': 'warn',
56
+ 'no-extra-label': 'warn',
57
+ 'no-fallthrough': 'warn',
58
+ 'no-func-assign': 'warn',
59
+ 'no-implied-eval': 'warn',
60
+ 'no-invalid-regexp': 'warn',
61
+ 'no-iterator': 'warn',
62
+ 'no-label-var': 'warn',
63
+ 'no-labels': ['warn', { allowLoop: true, allowSwitch: false }],
64
+ 'no-lone-blocks': 'warn',
65
+ 'no-loop-func': 'warn',
66
+ 'no-mixed-operators': [
67
+ 'warn',
98
68
  {
99
69
  groups: [
100
- ["&", "|", "^", "~", "<<", ">>", ">>>"],
101
- ["==", "!=", "===", "!==", ">", ">=", "<", "<="],
102
- ["&&", "||"],
103
- ["in", "instanceof"],
70
+ ['&', '|', '^', '~', '<<', '>>', '>>>'],
71
+ ['==', '!=', '===', '!==', '>', '>=', '<', '<='],
72
+ ['&&', '||'],
73
+ ['in', 'instanceof'],
104
74
  ],
105
75
  allowSamePrecedence: false,
106
76
  },
107
77
  ],
108
- "no-multi-str": "warn",
109
- "no-global-assign": "warn",
110
- "no-unsafe-negation": "warn",
111
- "no-new-func": "warn",
112
- "no-new-object": "warn",
113
- "no-new-symbol": "warn",
114
- "no-new-wrappers": "warn",
115
- "no-obj-calls": "warn",
116
- "no-octal": "warn",
117
- "no-octal-escape": "warn",
118
- "no-redeclare": "warn",
119
- "no-regex-spaces": "warn",
120
- "no-restricted-syntax": ["warn", "WithStatement"],
121
- "no-script-url": "warn",
122
- "no-self-assign": "warn",
123
- "no-self-compare": "warn",
124
- "no-sequences": "warn",
125
- "no-shadow-restricted-names": "warn",
126
- "no-sparse-arrays": "warn",
127
- "no-template-curly-in-string": "warn",
128
- "no-this-before-super": "warn",
129
- "no-throw-literal": "warn",
130
- "no-undef": "error",
78
+ 'no-multi-str': 'warn',
79
+ 'no-global-assign': 'warn',
80
+ 'no-unsafe-negation': 'warn',
81
+ 'no-new-func': 'warn',
82
+ 'no-new-object': 'warn',
83
+ 'no-new-symbol': 'warn',
84
+ 'no-new-wrappers': 'warn',
85
+ 'no-obj-calls': 'warn',
86
+ 'no-octal': 'warn',
87
+ 'no-octal-escape': 'warn',
88
+ 'no-redeclare': 'warn',
89
+ 'no-regex-spaces': 'warn',
90
+ 'no-restricted-syntax': ['warn', 'WithStatement'],
91
+ 'no-script-url': 'warn',
92
+ 'no-self-assign': 'warn',
93
+ 'no-self-compare': 'warn',
94
+ 'no-sequences': 'warn',
95
+ 'no-shadow-restricted-names': 'warn',
96
+ 'no-sparse-arrays': 'warn',
97
+ 'no-template-curly-in-string': 'warn',
98
+ 'no-this-before-super': 'warn',
99
+ 'no-throw-literal': 'warn',
100
+ 'no-undef': 'error',
131
101
  // "no-restricted-globals": ["error"].concat(restrictedGlobals),
132
- "no-unreachable": "warn",
133
- "no-unused-expressions": [
134
- "error",
102
+ 'no-unreachable': 'warn',
103
+ 'no-unused-expressions': [
104
+ 'error',
135
105
  {
136
106
  allowShortCircuit: true,
137
107
  allowTernary: true,
138
108
  allowTaggedTemplates: true,
139
109
  },
140
110
  ],
141
- "no-unused-labels": "warn",
142
- "no-unused-vars": [
143
- "warn",
111
+ 'no-unused-labels': 'warn',
112
+ 'no-unused-vars': [
113
+ 'warn',
144
114
  {
145
- args: "none",
115
+ args: 'none',
146
116
  ignoreRestSiblings: true,
147
117
  },
148
118
  ],
149
- "no-use-before-define": [
150
- "warn",
119
+ 'no-use-before-define': [
120
+ 'warn',
151
121
  {
152
122
  functions: false,
153
123
  classes: false,
154
124
  variables: false,
155
125
  },
156
126
  ],
157
- "no-useless-computed-key": "warn",
158
- "no-useless-concat": "warn",
159
- "no-useless-constructor": "warn",
160
- "no-useless-escape": "warn",
161
- "no-useless-rename": [
162
- "warn",
127
+ 'no-useless-computed-key': 'warn',
128
+ 'no-useless-concat': 'warn',
129
+ 'no-useless-constructor': 'warn',
130
+ 'no-useless-escape': 'warn',
131
+ 'no-useless-rename': [
132
+ 'warn',
163
133
  {
164
134
  ignoreDestructuring: false,
165
135
  ignoreImport: false,
166
136
  ignoreExport: false,
167
137
  },
168
138
  ],
169
- "no-with": "warn",
170
- "no-whitespace-before-property": "warn",
171
- "react-hooks/exhaustive-deps": "warn",
172
- "require-yield": "warn",
173
- "rest-spread-spacing": ["warn", "never"],
174
- strict: ["warn", "never"],
175
- "unicode-bom": ["warn", "never"],
176
- "use-isnan": "warn",
177
- "valid-typeof": "warn",
178
- "no-restricted-properties": [
179
- "error",
139
+ 'no-with': 'warn',
140
+ 'no-whitespace-before-property': 'warn',
141
+ 'react-hooks/exhaustive-deps': 'warn',
142
+ 'require-yield': 'warn',
143
+ 'rest-spread-spacing': ['warn', 'never'],
144
+ strict: ['warn', 'never'],
145
+ 'unicode-bom': ['warn', 'never'],
146
+ 'use-isnan': 'warn',
147
+ 'valid-typeof': 'warn',
148
+ 'no-restricted-properties': [
149
+ 'error',
180
150
  {
181
- object: "require",
182
- property: "ensure",
151
+ object: 'require',
152
+ property: 'ensure',
183
153
  message:
184
- "Please use import() instead. More info: https://facebook.github.io/create-react-app/docs/code-splitting",
154
+ 'Please use import() instead. More info: https://facebook.github.io/create-react-app/docs/code-splitting',
185
155
  },
186
156
  {
187
- object: "System",
188
- property: "import",
157
+ object: 'System',
158
+ property: 'import',
189
159
  message:
190
- "Please use import() instead. More info: https://facebook.github.io/create-react-app/docs/code-splitting",
160
+ 'Please use import() instead. More info: https://facebook.github.io/create-react-app/docs/code-splitting',
191
161
  },
192
162
  ],
193
- "getter-return": "warn",
163
+ 'getter-return': 'warn',
194
164
 
195
165
  // https://github.com/benmosher/eslint-plugin-import/tree/master/docs/rules
196
- "import/first": "error",
197
- "import/no-amd": "error",
198
- "import/no-anonymous-default-export": "warn",
199
- "import/no-webpack-loader-syntax": "error",
166
+ 'import/first': 'error',
167
+ 'import/no-amd': 'error',
168
+ 'import/no-anonymous-default-export': 'warn',
169
+ 'import/no-webpack-loader-syntax': 'error',
200
170
 
201
171
  // https://github.com/yannickcr/eslint-plugin-react/tree/master/docs/rules
202
- "react/forbid-foreign-prop-types": ["warn", { allowInPropTypes: true }],
203
- "react/jsx-no-comment-textnodes": "warn",
204
- "react/jsx-no-duplicate-props": "warn",
205
- "react/jsx-no-target-blank": "warn",
206
- "react/jsx-no-undef": "error",
207
- "react/jsx-pascal-case": [
208
- "warn",
172
+ 'react/forbid-foreign-prop-types': ['warn', { allowInPropTypes: true }],
173
+ 'react/jsx-no-comment-textnodes': 'warn',
174
+ 'react/jsx-no-duplicate-props': 'warn',
175
+ 'react/jsx-no-target-blank': 'warn',
176
+ 'react/jsx-no-undef': 'error',
177
+ 'react/jsx-pascal-case': [
178
+ 'warn',
209
179
  {
210
180
  allowAllCaps: true,
211
181
  ignore: [],
212
182
  },
213
183
  ],
214
- "react/no-danger-with-children": "warn",
184
+ 'react/no-danger-with-children': 'warn',
215
185
  // Disabled because of undesirable warnings
216
186
  // See https://github.com/facebook/create-react-app/issues/5204 for
217
187
  // blockers until its re-enabled
218
188
  // 'react/no-deprecated': 'warn',
219
- "react/no-direct-mutation-state": "warn",
220
- "react/no-is-mounted": "warn",
221
- "react/no-typos": "error",
222
- "react/require-render-return": "error",
223
- "react/style-prop-object": "warn",
189
+ 'react/no-direct-mutation-state': 'warn',
190
+ 'react/no-is-mounted': 'warn',
191
+ 'react/no-typos': 'error',
192
+ 'react/require-render-return': 'error',
193
+ 'react/style-prop-object': 'warn',
224
194
 
225
195
  // https://github.com/evcohen/eslint-plugin-jsx-a11y/tree/master/docs/rules
226
- "jsx-a11y/alt-text": "warn",
227
- "jsx-a11y/anchor-has-content": "warn",
228
- "jsx-a11y/anchor-is-valid": [
229
- "warn",
196
+ 'jsx-a11y/alt-text': 'warn',
197
+ 'jsx-a11y/anchor-has-content': 'warn',
198
+ 'jsx-a11y/anchor-is-valid': [
199
+ 'warn',
230
200
  {
231
- aspects: ["noHref", "invalidHref"],
201
+ aspects: ['noHref', 'invalidHref'],
232
202
  },
233
203
  ],
234
- "jsx-a11y/aria-activedescendant-has-tabindex": "warn",
235
- "jsx-a11y/aria-props": "warn",
236
- "jsx-a11y/aria-proptypes": "warn",
237
- "jsx-a11y/aria-role": ["warn", { ignoreNonDOM: true }],
238
- "jsx-a11y/aria-unsupported-elements": "warn",
239
- "jsx-a11y/heading-has-content": "warn",
240
- "jsx-a11y/iframe-has-title": "warn",
241
- "jsx-a11y/img-redundant-alt": "warn",
242
- "jsx-a11y/no-access-key": "warn",
243
- "jsx-a11y/no-distracting-elements": "warn",
244
- "jsx-a11y/no-redundant-roles": "warn",
245
- "jsx-a11y/role-has-required-aria-props": "warn",
246
- "jsx-a11y/role-supports-aria-props": "warn",
247
- "jsx-a11y/scope": "warn",
204
+ 'jsx-a11y/aria-activedescendant-has-tabindex': 'warn',
205
+ 'jsx-a11y/aria-props': 'warn',
206
+ 'jsx-a11y/aria-proptypes': 'warn',
207
+ 'jsx-a11y/aria-role': ['warn', { ignoreNonDOM: true }],
208
+ 'jsx-a11y/aria-unsupported-elements': 'warn',
209
+ 'jsx-a11y/heading-has-content': 'warn',
210
+ 'jsx-a11y/iframe-has-title': 'warn',
211
+ 'jsx-a11y/img-redundant-alt': 'warn',
212
+ 'jsx-a11y/no-access-key': 'warn',
213
+ 'jsx-a11y/no-distracting-elements': 'warn',
214
+ 'jsx-a11y/no-redundant-roles': 'warn',
215
+ 'jsx-a11y/role-has-required-aria-props': 'warn',
216
+ 'jsx-a11y/role-supports-aria-props': 'warn',
217
+ 'jsx-a11y/scope': 'warn',
248
218
 
249
219
  // https://github.com/facebook/react/tree/main/packages/eslint-plugin-react-hooks
250
- "react-hooks/rules-of-hooks": "error",
251
-
220
+ 'react-hooks/rules-of-hooks': 'error',
252
221
  },
253
222
  overrides: [
254
223
  {
255
- files: ["**/*.stories.*"],
224
+ files: ['**/*.stories.*'],
256
225
  rules: {
257
- "import/no-anonymous-default-export": "off",
226
+ 'import/no-anonymous-default-export': 'off',
258
227
  },
259
228
  },
260
229
 
261
230
  // https://github.com/facebook/create-react-app/blob/main/packages/eslint-config-react-app/jest.js
262
231
  {
263
- files: ["**/__tests__/**/*", "**/*.{spec,test}.*"],
232
+ files: ['**/__tests__/**/*', '**/*.{spec,test}.*'],
264
233
  env: {
265
- "jest/globals": true,
234
+ 'jest/globals': true,
266
235
  },
267
236
  // A subset of the recommended rules:
268
237
  rules: {
269
238
  // https://github.com/jest-community/eslint-plugin-jest
270
- "jest/no-conditional-expect": "error",
271
- "jest/no-identical-title": "error",
272
- "jest/no-interpolation-in-snapshots": "error",
273
- "jest/no-jasmine-globals": "error",
274
- "jest/no-mocks-import": "error",
275
- "jest/valid-describe-callback": "error",
276
- "jest/valid-expect": "error",
277
- "jest/valid-expect-in-promise": "error",
278
- "jest/valid-title": "warn",
239
+ 'jest/no-conditional-expect': 'error',
240
+ 'jest/no-identical-title': 'error',
241
+ 'jest/no-interpolation-in-snapshots': 'error',
242
+ 'jest/no-jasmine-globals': 'error',
243
+ 'jest/no-mocks-import': 'error',
244
+ 'jest/valid-describe-callback': 'error',
245
+ 'jest/valid-expect': 'error',
246
+ 'jest/valid-expect-in-promise': 'error',
247
+ 'jest/valid-title': 'warn',
279
248
 
280
249
  // https://github.com/testing-library/eslint-plugin-testing-library
281
- "testing-library/await-async-query": "error",
282
- "testing-library/await-async-utils": "error",
283
- "testing-library/no-await-sync-query": "error",
284
- "testing-library/no-container": "error",
285
- "testing-library/no-debugging-utils": "error",
286
- "testing-library/no-dom-import": ["error", "react"],
287
- "testing-library/no-node-access": "error",
288
- "testing-library/no-promise-in-fire-event": "error",
289
- "testing-library/no-render-in-setup": "error",
290
- "testing-library/no-unnecessary-act": "error",
291
- "testing-library/no-wait-for-empty-callback": "error",
292
- "testing-library/no-wait-for-multiple-assertions": "error",
293
- "testing-library/no-wait-for-side-effects": "error",
294
- "testing-library/no-wait-for-snapshot": "error",
295
- "testing-library/prefer-find-by": "error",
296
- "testing-library/prefer-presence-queries": "error",
297
- "testing-library/prefer-query-by-disappearance": "error",
298
- "testing-library/prefer-screen-queries": "error",
299
- "testing-library/render-result-naming-convention": "error",
250
+ 'testing-library/await-async-query': 'error',
251
+ 'testing-library/await-async-utils': 'error',
252
+ 'testing-library/no-await-sync-query': 'error',
253
+ 'testing-library/no-container': 'error',
254
+ 'testing-library/no-debugging-utils': 'error',
255
+ 'testing-library/no-dom-import': ['error', 'react'],
256
+ 'testing-library/no-node-access': 'error',
257
+ 'testing-library/no-promise-in-fire-event': 'error',
258
+ 'testing-library/no-render-in-setup': 'error',
259
+ 'testing-library/no-unnecessary-act': 'error',
260
+ 'testing-library/no-wait-for-empty-callback': 'error',
261
+ 'testing-library/no-wait-for-multiple-assertions': 'error',
262
+ 'testing-library/no-wait-for-side-effects': 'error',
263
+ 'testing-library/no-wait-for-snapshot': 'error',
264
+ 'testing-library/prefer-find-by': 'error',
265
+ 'testing-library/prefer-presence-queries': 'error',
266
+ 'testing-library/prefer-query-by-disappearance': 'error',
267
+ 'testing-library/prefer-screen-queries': 'error',
268
+ 'testing-library/render-result-naming-convention': 'error',
300
269
  },
301
270
  },
302
271
 
303
-
304
272
  // https://github.com/facebook/create-react-app/blob/main/packages/eslint-config-react-app/index.js
305
273
  {
306
- files: ["**/*.ts?(x)"],
274
+ files: ['**/*.ts?(x)'],
307
275
  // parser: "@typescript-eslint/parser",
308
276
  // parserOptions: {
309
277
  // ecmaVersion: 2018,
@@ -320,21 +288,21 @@ module.exports = {
320
288
  // make sure to disable the ESLint rule here.
321
289
  rules: {
322
290
  // TypeScript's `noFallthroughCasesInSwitch` option is more robust (#6906)
323
- "default-case": "off",
291
+ 'default-case': 'off',
324
292
  // 'tsc' already handles this (https://github.com/typescript-eslint/typescript-eslint/issues/291)
325
- "no-dupe-class-members": "off",
293
+ 'no-dupe-class-members': 'off',
326
294
  // 'tsc' already handles this (https://github.com/typescript-eslint/typescript-eslint/issues/477)
327
- "no-undef": "off",
295
+ 'no-undef': 'off',
328
296
 
329
297
  // Add TypeScript specific rules (and turn off ESLint equivalents)
330
- "@typescript-eslint/consistent-type-assertions": "warn",
331
- "no-array-constructor": "off",
332
- "@typescript-eslint/no-array-constructor": "warn",
333
- "no-redeclare": "off",
334
- "@typescript-eslint/no-redeclare": "warn",
335
- "no-use-before-define": "off",
336
- "@typescript-eslint/no-use-before-define": [
337
- "warn",
298
+ '@typescript-eslint/consistent-type-assertions': 'warn',
299
+ 'no-array-constructor': 'off',
300
+ '@typescript-eslint/no-array-constructor': 'warn',
301
+ 'no-redeclare': 'off',
302
+ '@typescript-eslint/no-redeclare': 'warn',
303
+ 'no-use-before-define': 'off',
304
+ '@typescript-eslint/no-use-before-define': [
305
+ 'warn',
338
306
  {
339
307
  functions: false,
340
308
  classes: false,
@@ -342,25 +310,25 @@ module.exports = {
342
310
  typedefs: false,
343
311
  },
344
312
  ],
345
- "no-unused-expressions": "off",
346
- "@typescript-eslint/no-unused-expressions": [
347
- "error",
313
+ 'no-unused-expressions': 'off',
314
+ '@typescript-eslint/no-unused-expressions': [
315
+ 'error',
348
316
  {
349
317
  allowShortCircuit: true,
350
318
  allowTernary: true,
351
319
  allowTaggedTemplates: true,
352
320
  },
353
321
  ],
354
- "no-unused-vars": "off",
355
- "@typescript-eslint/no-unused-vars": [
356
- "warn",
322
+ 'no-unused-vars': 'off',
323
+ '@typescript-eslint/no-unused-vars': [
324
+ 'warn',
357
325
  {
358
- args: "none",
326
+ args: 'none',
359
327
  ignoreRestSiblings: true,
360
328
  },
361
329
  ],
362
- "no-useless-constructor": "off",
363
- "@typescript-eslint/no-useless-constructor": "warn",
330
+ 'no-useless-constructor': 'off',
331
+ '@typescript-eslint/no-useless-constructor': 'warn',
364
332
  },
365
333
  },
366
334
  ],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@morgs32/eslint-config",
3
- "version": "2.0.4",
3
+ "version": "2.0.6",
4
4
  "description": "",
5
5
  "main": ".eslintrc.js",
6
6
  "files": [