@mikey-pro/eslint-config 1.3.2 → 1.4.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 +1 -27
  2. package/index.js +3 -1
  3. package/package.json +19 -16
package/README.md CHANGED
@@ -15,33 +15,7 @@
15
15
 
16
16
  ## **@mikey-pro/eslint-config**
17
17
 
18
- A preset ESLint configuration for use with the Mikey Pro style guide
19
-
20
- <div>
21
- <a href="https://www.npmjs.com/package/@mikey-pro/eslint-config"
22
- ><img
23
- src="https://img.shields.io/librariesio/release/npm/@mikey-pro/eslint-config?color=8fbe61&style=for-the-badge"
24
- alt="Dependencies badge"
25
- height="20px"
26
- /></a>
27
- </div>
28
- <div>
29
- <a href="https://www.npmjs.com/package/@mikey-pro/eslint-config"
30
- ><img
31
- src="https://img.shields.io/bundlephobia/min/@mikey-pro/eslint-config?color=9987d8&label=package%20size&logo=ok&style=for-the-badge"
32
- alt="Package size badge"
33
- height="20px"
34
- /></a>
35
- </div>
36
-
37
- <div>
38
- <a href="https://www.npmjs.com/package/@mikey-pro/eslint-config"
39
- ><img
40
- src="https://img.shields.io/npm/dw/@mikey-pro/eslint-config?color=5dacb7&style=for-the-badge"
41
- alt="Downloads badge"
42
- height="20px"
43
- /></a>
44
- </div>
18
+ _A preset ESLint configuration_
45
19
 
46
20
  ## Usage
47
21
 
package/index.js CHANGED
@@ -1,6 +1,7 @@
1
1
  module.exports = {
2
2
  extends: [
3
3
  'airbnb-base',
4
+ 'standard',
4
5
  'eslint:recommended',
5
6
  'plugin:sonarjs/recommended',
6
7
  'plugin:compat/recommended',
@@ -51,6 +52,8 @@ module.exports = {
51
52
  browser: true,
52
53
  node: true,
53
54
  es6: true,
55
+ commonjs: true,
56
+ es2021: true,
54
57
  },
55
58
  rules: {
56
59
  'no-unused-vars': 'warn',
@@ -102,7 +105,6 @@ module.exports = {
102
105
  },
103
106
  parser: '@babel/eslint-parser',
104
107
  parserOptions: {
105
- ecmaVersion: 2020,
106
108
  requireConfigFile: false,
107
109
  babelOptions: {
108
110
  presets: [
package/package.json CHANGED
@@ -1,27 +1,30 @@
1
1
  {
2
2
  "name": "@mikey-pro/eslint-config",
3
- "version": "1.3.2",
3
+ "version": "1.4.2",
4
4
  "description": "Mikey Pro ESLint configuration",
5
5
  "peerDependencies": {
6
- "@babel/core": "^7.2.0",
7
- "@babel/eslint-parser": "^7.0",
8
- "@babel/eslint-plugin": "^7.0",
9
- "@babel/preset-env": "^7.0",
6
+ "@babel/core": "^7.15.5",
7
+ "@babel/eslint-parser": "^7.15",
8
+ "@babel/eslint-plugin": "^7.14",
9
+ "@babel/preset-env": "^7.15",
10
10
  "@html-eslint/eslint-plugin": "^0.11.0",
11
11
  "@html-eslint/parser": "^0.11.0",
12
- "eslint": "^7.0",
13
- "eslint-config-airbnb-base": "^14.0",
14
- "eslint-config-prettier": "^8.0",
15
- "eslint-import-resolver-alias": "^1.0",
16
- "eslint-plugin-compat": "^3.0",
17
- "eslint-plugin-css-modules": "^2.0",
18
- "eslint-plugin-disable-autofix": "^0.1.0",
19
- "eslint-plugin-import": "^2.0",
20
- "eslint-plugin-json": "^3.0",
12
+ "eslint": "^7.32",
13
+ "eslint-config-airbnb-base": "^14.2",
14
+ "eslint-config-prettier": "^8.3",
15
+ "eslint-config-standard": "16.0.3",
16
+ "eslint-import-resolver-alias": "^1.1",
17
+ "eslint-plugin-compat": "^3.13",
18
+ "eslint-plugin-css-modules": "^2.11",
19
+ "eslint-plugin-disable-autofix": "^0.1.3",
20
+ "eslint-plugin-import": "^2.24",
21
+ "eslint-plugin-json": "^3.1",
21
22
  "eslint-plugin-json-format": "^2.0",
22
23
  "eslint-plugin-md": "^1.0",
23
- "eslint-plugin-prettier": "^3.0",
24
- "eslint-plugin-sonar": "^0.6.0"
24
+ "eslint-plugin-node": "11.1.0",
25
+ "eslint-plugin-prettier": "^4.0",
26
+ "eslint-plugin-promise": "5.1.0",
27
+ "eslint-plugin-sonar": "^0.6.1"
25
28
  },
26
29
  "files": [
27
30
  "index.js",