@mikey-pro/eslint-config 5.0.7 → 6.0.2

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/README.md +2 -9
  2. package/index.js +2 -1
  3. package/package.json +3 -43
package/README.md CHANGED
@@ -2,9 +2,6 @@
2
2
  <h1>
3
3
  <b>Mikey Pro</b>
4
4
  </h1>
5
- <h3>
6
- <a href="https://github.com/mikey-pro/style-guide">Style Guide</a>
7
- <br />
8
5
  </div>
9
6
 
10
7
  ## **@mikey-pro/eslint-config**
@@ -16,9 +13,7 @@ _A preset ESLint configuration_
16
13
  ### Install
17
14
 
18
15
  ```shell
19
- npm i -D @mikey-pro/eslint-config
20
-
21
- yarn add -D @mikey-pro/eslint-config
16
+ npm i -D mikey-pro
22
17
  ```
23
18
 
24
19
  ### Configure
@@ -28,9 +23,7 @@ Extend to ESLint in `package.json`:
28
23
  ```json
29
24
  {
30
25
  "eslintConfig": {
31
- "extends": [
32
- "@mikey-pro/eslint-config"
33
- ]
26
+ "extends": ["@mikey-pro/eslint-config"]
34
27
  }
35
28
  }
36
29
  ```
package/index.js CHANGED
@@ -236,6 +236,7 @@ module.exports = {
236
236
  'unicorn',
237
237
  'sonarjs',
238
238
  'only-warn',
239
+ '@cypress/json',
239
240
  ],
240
241
  root: true,
241
242
  rules: {
@@ -432,10 +433,10 @@ module.exports = {
432
433
  'valid-jsdoc': 0,
433
434
  },
434
435
  settings: {
435
- 'json/sort-package-json': 'pro',
436
436
  polyfills: ['Promise'],
437
437
  react: {
438
438
  version: 'detect',
439
439
  },
440
+ 'json/json-with-comments-files': [],
440
441
  },
441
442
  };
package/package.json CHANGED
@@ -1,44 +1,9 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config",
3
- "version": "5.0.7",
3
+ "version": "6.0.2",
4
4
  "description": "Mikey Pro ESLint configuration",
5
5
  "main": "index.js",
6
- "dependencies": {
7
- "@babel/core": "^7.20.5",
8
- "@babel/eslint-parser": "^7.19",
9
- "@babel/eslint-plugin": "^7.19",
10
- "@babel/plugin-transform-react-jsx": "^7.19.0",
11
- "@babel/preset-env": "^7.20",
12
- "@html-eslint/eslint-plugin": "^0.15.0",
13
- "@html-eslint/parser": "^0.15.0",
14
- "@typescript-eslint/eslint-plugin": "^5.46.0",
15
- "@typescript-eslint/parser": "^5.46.0",
16
- "@vue/babel-plugin-jsx": "^1.1.1",
17
- "eslint-config-prettier": "^8.5",
18
- "eslint-config-react-app": "^7.0.1",
19
- "eslint-import-resolver-typescript": "^3.5.2",
20
- "eslint-plugin-compat": "^4.0",
21
- "eslint-plugin-css-modules": "^2.11",
22
- "eslint-plugin-disable-autofix": "^3.1.1",
23
- "eslint-plugin-jsonc": "^2.5.0",
24
- "eslint-plugin-markdownlint": "^0.4.0",
25
- "eslint-plugin-n": "^15.6.0",
26
- "eslint-plugin-only-warn": "^1.1.0",
27
- "eslint-plugin-prettier": "^4.2",
28
- "eslint-plugin-promise": "^6.1.1",
29
- "eslint-plugin-sonarjs": "^0.17.0",
30
- "eslint-plugin-svelte3": "^4.0.0",
31
- "eslint-plugin-toml": "^0.3.1",
32
- "eslint-plugin-unicorn": "^45.0.1",
33
- "eslint-plugin-vue": "^9.8",
34
- "eslint-plugin-yaml": "^0.5.0",
35
- "vue-eslint-parser": "^9.1"
36
- },
37
- "files": [
38
- "index.js",
39
- "README.md",
40
- "LICENSE"
41
- ],
6
+ "files": ["index.js", "README.md", "LICENSE"],
42
7
  "license": "MIT",
43
8
  "repository": {
44
9
  "type": "git",
@@ -63,10 +28,5 @@
63
28
  "style",
64
29
  "guide"
65
30
  ],
66
- "contributors": [
67
- "Mikl Wolfe <wolfe@mikl.io> (https://mikl.io)"
68
- ],
69
- "browserslist": [
70
- "defaults"
71
- ]
31
+ "browserslist": ["defaults"]
72
32
  }