@mikey-pro/eslint-config 4.8.10 → 4.9.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.
Files changed (2) hide show
  1. package/index.js +29 -27
  2. package/package.json +1 -1
package/index.js CHANGED
@@ -47,7 +47,7 @@ module.exports = {
47
47
  },
48
48
  plugins: ['@typescript-eslint'],
49
49
  rules: {
50
- '@typescript-eslint/naming-convention': 1,
50
+ '@typescript-eslint/naming-convention': 0,
51
51
  'import/default': 0,
52
52
  'import/named': 0,
53
53
  'import/namespace': 0,
@@ -87,7 +87,7 @@ module.exports = {
87
87
  files: ['*.toml'],
88
88
  parser: 'toml-eslint-parser',
89
89
  rules: {
90
- 'prettier/prettier': 1,
90
+ 'prettier/prettier': 0,
91
91
  },
92
92
  },
93
93
  {
@@ -119,15 +119,15 @@ module.exports = {
119
119
  parser: '@html-eslint/parser',
120
120
  plugins: ['@html-eslint'],
121
121
  rules: {
122
- '@html-eslint/indent': 1,
123
- '@html-eslint/no-extra-spacing-attrs': 1,
124
- '@html-eslint/require-closing-tags': 1,
122
+ '@html-eslint/indent': 0,
123
+ '@html-eslint/no-extra-spacing-attrs': 0,
124
+ '@html-eslint/require-closing-tags': 0,
125
125
  'disable-autofix/@html-eslint/require-closing-tags': [
126
126
  1,
127
127
  { selfClosing: 'always' },
128
128
  ],
129
129
  'prettier/prettier': [1, { parser: 'html' }],
130
- 'spaced-comment': 1,
130
+ 'spaced-comment': 0,
131
131
  },
132
132
  },
133
133
  {
@@ -244,12 +244,12 @@ module.exports = {
244
244
  root: true,
245
245
  rules: {
246
246
  camelcase: 1,
247
- 'class-methods-use-this': 1,
247
+ 'class-methods-use-this': 0,
248
248
  'constructor-super': 1,
249
249
  'dot-notation': 1,
250
- 'func-names': 1,
250
+ 'func-names': 0,
251
251
  'import/extensions': [1, 'never', { ignorePackages: true }],
252
- 'import/no-commonjs': 1,
252
+ 'import/no-commonjs': 0,
253
253
  'import/no-unresolved': [
254
254
  1,
255
255
  { amd: true, commonjs: true, ignore: ['^node:'] },
@@ -267,15 +267,16 @@ module.exports = {
267
267
  'keyword-spacing': 1,
268
268
  'no-caller': 1,
269
269
  'no-confusing-arrow': 1,
270
- 'no-console': 1,
270
+ 'no-console': 0,
271
271
  'no-const-assign': 1,
272
272
  'no-delete-var': 1,
273
273
  'no-dupe-class-members': 1,
274
274
  'no-dupe-keys': 1,
275
275
  'no-duplicate-imports': 1,
276
276
  'no-else-return': 1,
277
- 'no-empty': 1,
278
- 'no-empty-pattern': 1,
277
+ 'no-empty': 0,
278
+ 'no-empty-pattern': 0,
279
+ 'no-extra-parens': 0,
279
280
  'no-extra-bind': 1,
280
281
  'no-extra-semi': 1,
281
282
  'no-floating-decimal': 1,
@@ -284,7 +285,7 @@ module.exports = {
284
285
  'no-mixed-spaces-and-tabs': [1, 'smart-tabs'],
285
286
  'no-multi-str': 1,
286
287
  'no-new-wrappers': 1,
287
- 'no-process-exit': 1,
288
+ 'no-process-exit': 0,
288
289
  'no-proto': 1,
289
290
  'no-redeclare': 1,
290
291
  'no-restricted-syntax': [
@@ -305,12 +306,12 @@ module.exports = {
305
306
  selector: 'WithStatement',
306
307
  },
307
308
  ],
308
- 'no-shadow': 1,
309
+ 'no-shadow': 0,
309
310
  'no-shadow-restricted-names': 1,
310
311
  'no-spaced-func': 1,
311
312
  'no-this-before-super': 1,
312
313
  'no-undef-init': 1,
313
- 'no-underscore-dangle': 1,
314
+ 'no-underscore-dangle': 0,
314
315
  'no-unneeded-ternary': 1,
315
316
  'no-unused-vars': [
316
317
  1,
@@ -328,7 +329,7 @@ module.exports = {
328
329
  'no-useless-return': 1,
329
330
  'no-var': 1,
330
331
  'no-with': 1,
331
- 'object-curly-spacing': [1, 'always'],
332
+ 'object-curly-spacing': [0, 'always'],
332
333
  'object-shorthand': 1,
333
334
  'prefer-arrow-callback': 1,
334
335
  'prefer-destructuring': [
@@ -344,7 +345,7 @@ module.exports = {
344
345
  'prettier/prettier': [1, { parser: 'babel' }],
345
346
  'quote-props': [1, 'as-needed'],
346
347
  quotes: [
347
- 1,
348
+ 0,
348
349
  'single',
349
350
  {
350
351
  allowTemplateLiterals: true,
@@ -356,7 +357,7 @@ module.exports = {
356
357
  'react-hooks/rules-of-hooks': 1,
357
358
  'react/display-name': [1, { ignoreTranspilerName: false }],
358
359
  'react/function-component-definition': [
359
- 1,
360
+ 0,
360
361
  { namedComponents: 'arrow-function' },
361
362
  ],
362
363
  'react/jsx-curly-spacing': 1,
@@ -383,9 +384,10 @@ module.exports = {
383
384
  'react/no-find-dom-node': 1,
384
385
  'react/no-is-mounted': 1,
385
386
  'react/no-string-refs': 1,
387
+ 'filenames/match-regex': 0,
386
388
  'react/prefer-es6-class': 1,
387
389
  'react/prefer-stateless-function': 1,
388
- 'react/react-in-jsx-scope': 1,
390
+ 'react/react-in-jsx-scope': 0,
389
391
  'react/require-render-return': 1,
390
392
  'react/self-closing-comp': [
391
393
  'error',
@@ -394,16 +396,17 @@ module.exports = {
394
396
  html: false,
395
397
  },
396
398
  ],
397
- 'react/state-in-constructor': 1,
398
- 'require-atomic-updates': 1,
399
- 'rest-spread-spacing': 1,
400
- semi: 1,
399
+ 'react/state-in-constructor': 0,
400
+ 'require-atomic-updates': 0,
401
+ 'sort-imports': 0,
402
+ 'rest-spread-spacing': 0,
403
+ semi: 0,
401
404
  'sort-vars': 1,
402
405
  'space-before-function-paren': [
403
- 1,
406
+ 0,
404
407
  { anonymous: 'always', asyncArrow: 'always', named: 'never' },
405
408
  ],
406
- 'space-in-parens': [1, 'never'],
409
+ 'space-in-parens': [0, 'never'],
407
410
  'spaced-comment': [
408
411
  1,
409
412
  'always',
@@ -432,13 +435,12 @@ module.exports = {
432
435
  },
433
436
  ],
434
437
  'unicorn/import-index': [1, { ignoreImports: true }],
435
- 'valid-jsdoc': 1,
438
+ 'valid-jsdoc': 0,
436
439
  },
437
440
  settings: {
438
441
  'json/sort-package-json': 'pro',
439
442
  polyfills: ['Promise'],
440
443
  react: {
441
- pragma: 'h',
442
444
  version: 'detect',
443
445
  },
444
446
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config",
3
- "version": "4.8.10",
3
+ "version": "4.9.1",
4
4
  "description": "Mikey Pro ESLint configuration",
5
5
  "main": "index.js",
6
6
  "dependencies": {