@mikey-pro/eslint-config 7.0.1 → 7.0.3
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 +0 -49
- package/package.json +2 -3
package/index.js
CHANGED
|
@@ -10,7 +10,6 @@ module.exports = {
|
|
|
10
10
|
},
|
|
11
11
|
extends: [
|
|
12
12
|
'eslint:recommended',
|
|
13
|
-
'react-app-bump',
|
|
14
13
|
'plugin:unicorn/all',
|
|
15
14
|
'plugin:compat/recommended',
|
|
16
15
|
'plugin:css-modules/recommended',
|
|
@@ -173,12 +172,6 @@ module.exports = {
|
|
|
173
172
|
},
|
|
174
173
|
},
|
|
175
174
|
],
|
|
176
|
-
[
|
|
177
|
-
'@babel/preset-react',
|
|
178
|
-
{
|
|
179
|
-
runtime: 'automatic',
|
|
180
|
-
},
|
|
181
|
-
],
|
|
182
175
|
],
|
|
183
176
|
},
|
|
184
177
|
ecmaVersion: 'latest',
|
|
@@ -308,46 +301,7 @@ module.exports = {
|
|
|
308
301
|
},
|
|
309
302
|
],
|
|
310
303
|
radix: 1,
|
|
311
|
-
'react/display-name': [1, { ignoreTranspilerName: false }],
|
|
312
|
-
'react/function-component-definition': [
|
|
313
|
-
0,
|
|
314
|
-
{ namedComponents: 'arrow-function' },
|
|
315
|
-
],
|
|
316
|
-
'react/jsx-curly-spacing': 1,
|
|
317
|
-
'react/jsx-key': [1, { checkFragmentShorthand: true }],
|
|
318
|
-
'react/jsx-no-bind': [
|
|
319
|
-
1,
|
|
320
|
-
{
|
|
321
|
-
allowArrowFunctions: true,
|
|
322
|
-
allowFunctions: true,
|
|
323
|
-
ignoreRefs: true,
|
|
324
|
-
},
|
|
325
|
-
],
|
|
326
|
-
'react/jsx-no-comment-textnodes': 1,
|
|
327
|
-
'react/jsx-no-duplicate-props': 1,
|
|
328
|
-
'react/jsx-no-target-blank': 1,
|
|
329
|
-
'react/jsx-no-undef': 1,
|
|
330
|
-
'react/jsx-tag-spacing': [1, { beforeSelfClosing: 'always' }],
|
|
331
|
-
'react/jsx-uses-vars': 1,
|
|
332
|
-
'react/no-danger': 1,
|
|
333
|
-
'react/no-deprecated': 1,
|
|
334
|
-
'react/no-did-mount-set-state': 1,
|
|
335
|
-
'react/no-did-update-set-state': 1,
|
|
336
|
-
'react/no-find-dom-node': 1,
|
|
337
|
-
'react/no-is-mounted': 1,
|
|
338
|
-
'react/no-string-refs': 1,
|
|
339
304
|
'filenames/match-regex': 0,
|
|
340
|
-
'react/prefer-es6-class': 1,
|
|
341
|
-
'react/prefer-stateless-function': 1,
|
|
342
|
-
'react/require-render-return': 1,
|
|
343
|
-
'react/self-closing-comp': [
|
|
344
|
-
'error',
|
|
345
|
-
{
|
|
346
|
-
component: true,
|
|
347
|
-
html: false,
|
|
348
|
-
},
|
|
349
|
-
],
|
|
350
|
-
'react/state-in-constructor': 0,
|
|
351
305
|
'require-atomic-updates': 0,
|
|
352
306
|
'sort-imports': 0,
|
|
353
307
|
'rest-spread-spacing': 0,
|
|
@@ -390,9 +344,6 @@ module.exports = {
|
|
|
390
344
|
},
|
|
391
345
|
settings: {
|
|
392
346
|
polyfills: ['Promise'],
|
|
393
|
-
react: {
|
|
394
|
-
version: 'detect',
|
|
395
|
-
},
|
|
396
347
|
jest: {
|
|
397
348
|
version: 29,
|
|
398
349
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mikey-pro/eslint-config",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.3",
|
|
4
4
|
"description": "Mikey Pro ESLint configuration",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"dependencies": {
|
|
@@ -8,19 +8,18 @@
|
|
|
8
8
|
"@babel/eslint-parser": "^7.23",
|
|
9
9
|
"@babel/eslint-plugin": "^7.23",
|
|
10
10
|
"@babel/preset-env": "^7.23",
|
|
11
|
-
"@babel/preset-react": "^7.23.3",
|
|
12
11
|
"@cypress/eslint-plugin-json": "^3.2.3",
|
|
13
12
|
"@html-eslint/eslint-plugin": "^0.23.1",
|
|
14
13
|
"@html-eslint/parser": "^0.23.0",
|
|
15
14
|
"@typescript-eslint/eslint-plugin": "^7.0.2",
|
|
16
15
|
"@typescript-eslint/parser": "^7.0.2",
|
|
17
16
|
"eslint-config-prettier": "^9.1",
|
|
18
|
-
"eslint-config-react-app-bump": "^1.0.21",
|
|
19
17
|
"eslint-import-resolver-typescript": "^3.6.1",
|
|
20
18
|
"eslint-plugin-compat": "^4.2",
|
|
21
19
|
"eslint-plugin-css-modules": "^2.12",
|
|
22
20
|
"eslint-plugin-cypress": "^2.15.1",
|
|
23
21
|
"eslint-plugin-disable-autofix": "^4.2.0",
|
|
22
|
+
"eslint-plugin-import": "^2.29.1",
|
|
24
23
|
"eslint-plugin-jest": "^27.9.0",
|
|
25
24
|
"eslint-plugin-jsonc": "^2.13.0",
|
|
26
25
|
"eslint-plugin-markdownlint": "^0.5.0",
|