@mikey-pro/eslint-config 8.0.8 → 8.0.10

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 (3) hide show
  1. package/index.js +0 -2
  2. package/package.json +1 -4
  3. package/rules.js +1 -11
package/index.js CHANGED
@@ -3,7 +3,6 @@ import cypressJson from '@cypress/eslint-plugin-json';
3
3
  import eslintJs from '@eslint/js';
4
4
  import compatPlugin from 'eslint-plugin-compat';
5
5
  import cssModules from 'eslint-plugin-css-modules';
6
- import disableAutofix from 'eslint-plugin-disable-autofix';
7
6
  import importPlugin from 'eslint-plugin-import';
8
7
  import onlyWarn from 'eslint-plugin-only-warn';
9
8
  import prettier from 'eslint-plugin-prettier';
@@ -73,7 +72,6 @@ const config = [
73
72
  prettier,
74
73
  unicorn,
75
74
  'css-modules': cssModules,
76
- 'disable-autofix': disableAutofix,
77
75
  'only-warn': onlyWarn,
78
76
  '@cypress/json': cypressJson,
79
77
  import: importPlugin,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config",
3
- "version": "8.0.8",
3
+ "version": "8.0.10",
4
4
  "description": "Mikey Pro ESLint configuration",
5
5
  "main": "index.js",
6
6
  "types": "index.d.ts",
@@ -20,7 +20,6 @@
20
20
  "eslint-plugin-compat": "^6.0",
21
21
  "eslint-plugin-css-modules": "^2.12",
22
22
  "eslint-plugin-cypress": "^4.1.0",
23
- "eslint-plugin-disable-autofix": "^5.0.1",
24
23
  "eslint-plugin-import": "^2.31.0",
25
24
  "eslint-plugin-jest": "^28.11.0",
26
25
  "eslint-plugin-jsonc": "^2.19.1",
@@ -46,12 +45,10 @@
46
45
  "eslint-plugin-sonarjs": "^3.0.1",
47
46
  "eslint-plugin-regexp": "^2.7.0",
48
47
  "eslint-plugin-etc": "^2.0.3",
49
- "eslint-plugin-functional": "^8.0.0",
50
48
  "eslint-plugin-typescript-sort-keys": "^3.3.0",
51
49
  "eslint-plugin-sort-destructure-keys": "^2.0.0",
52
50
  "eslint-plugin-write-good-comments": "^0.2.0",
53
51
  "eslint-plugin-boundaries": "^5.0.1",
54
- "eslint-plugin-immutable": "^1.0.0",
55
52
  "eslint-plugin-radar": "^0.2.1",
56
53
  "eslint-plugin-optimize-regex": "^1.2.1"
57
54
  },
package/rules.js CHANGED
@@ -110,8 +110,7 @@ export const baseRules = {
110
110
  'prefer-rest-params': 'warn',
111
111
  'prefer-spread': 'warn',
112
112
  'prefer-template': 'warn',
113
- 'prefer-const': 'off',
114
- 'disable-autofix/prefer-const': 'warn',
113
+ 'prefer-const': 'warn',
115
114
  'quote-props': ['warn', 'as-needed'],
116
115
  quotes: [
117
116
  'off',
@@ -233,11 +232,6 @@ export const baseRules = {
233
232
  'security/detect-child-process': 'warn',
234
233
  'security/detect-disable-mustache-escape': 'error',
235
234
 
236
- // Functional Programming
237
- 'functional/no-let': 'warn',
238
- 'functional/prefer-readonly-type': 'warn',
239
- 'functional/no-mixed-type': 'warn',
240
-
241
235
  // Code Organization
242
236
  'typescript-sort-keys/interface': 'warn',
243
237
  'typescript-sort-keys/string-enum': 'warn',
@@ -271,10 +265,6 @@ export const baseRules = {
271
265
  }
272
266
  ],
273
267
 
274
- // Immutability
275
- 'immutable/no-mutation': 'warn',
276
- 'immutable/no-let': 'warn',
277
-
278
268
  // Performance
279
269
  'optimize-regex/optimize-regex': 'warn',
280
270
  'radar/no-duplicate-string': ['warn', 5],