@mikey-pro/eslint-config 2.3.0 → 2.4.0

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.cjs +4 -0
  2. package/package.json +7 -7
package/index.cjs CHANGED
@@ -69,6 +69,7 @@ module.exports = {
69
69
  math: 'always',
70
70
  },
71
71
  ],
72
+ 'prettier/prettier': 'off',
72
73
  },
73
74
  },
74
75
  {
@@ -79,6 +80,7 @@ module.exports = {
79
80
  'import/no-duplicates': 'off',
80
81
  'import/no-mutable-exports': 'off',
81
82
  'import/no-unresolved': 'off',
83
+ 'prettier/prettier': 'off',
82
84
  },
83
85
  },
84
86
  ],
@@ -211,6 +213,7 @@ module.exports = {
211
213
  allowArrowFunctions: true,
212
214
  },
213
215
  ],
216
+ 'react/function-component-definition': 0,
214
217
  'react/state-in-constructor': 0,
215
218
  'react/jsx-no-comment-textnodes': 2,
216
219
  'react/jsx-no-duplicate-props': 2,
@@ -257,6 +260,7 @@ module.exports = {
257
260
  'react-hooks',
258
261
  'unicorn',
259
262
  'svelte3',
263
+ 'sonarjs',
260
264
  ],
261
265
  ignorePatterns: [
262
266
  '!.*',
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config",
3
- "version": "2.3.0",
3
+ "version": "2.4.0",
4
4
  "description": "Mikey Pro ESLint configuration",
5
5
  "main": "index.cjs",
6
6
  "dependencies": {
@@ -12,14 +12,14 @@
12
12
  "@html-eslint/eslint-plugin": "^0.12.0",
13
13
  "@html-eslint/parser": "^0.12.0",
14
14
  "@vue/babel-plugin-jsx": "^1.1.1",
15
- "@vue/eslint-config-airbnb": "^5.3",
15
+ "@vue/eslint-config-airbnb": "^6.0",
16
16
  "babel-preset-airbnb": "^5.0.0",
17
- "eslint": "^8.2.0",
17
+ "eslint": "^8.3.0",
18
18
  "eslint-config-airbnb": "^19.0",
19
19
  "eslint-config-prettier": "^8.3",
20
20
  "eslint-config-standard": "16.0.3",
21
21
  "eslint-import-resolver-alias": "^1.1",
22
- "eslint-plugin-compat": "^3.13",
22
+ "eslint-plugin-compat": "^4.0",
23
23
  "eslint-plugin-css-modules": "^2.11",
24
24
  "eslint-plugin-disable-autofix": "^0.1.6",
25
25
  "eslint-plugin-import": "^2.25",
@@ -32,10 +32,10 @@
32
32
  "eslint-plugin-promise": "5.1.1",
33
33
  "eslint-plugin-react": "^7.27",
34
34
  "eslint-plugin-react-hooks": "^4.3",
35
- "eslint-plugin-sonar": "^0.6.1",
35
+ "eslint-plugin-sonarjs": "^0.10.0",
36
36
  "eslint-plugin-svelte3": "^3.2.1",
37
- "eslint-plugin-unicorn": "^38.0.1",
38
- "eslint-plugin-vue": "^8.0",
37
+ "eslint-plugin-unicorn": "^39.0.0",
38
+ "eslint-plugin-vue": "^8.1",
39
39
  "vue-eslint-parser": "^8.0"
40
40
  },
41
41
  "files": [