@hughescr/eslint-config-default 2.8.5 → 2.8.8

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.
package/index.js CHANGED
@@ -120,6 +120,8 @@ module.exports = {
120
120
  'comma-style': ['error', 'last'],
121
121
  complexity: ['warn', 15],
122
122
  curly: ['warn', 'all'],
123
+ 'default-case-last': 'warn',
124
+ 'default-param-last': 'error',
123
125
  'dot-notation': 'warn',
124
126
  'eol-last': 'warn',
125
127
  'handle-callback-err': 'warn',
@@ -141,9 +143,12 @@ module.exports = {
141
143
  'no-confusing-arrow': 'warn',
142
144
  'no-console' : 'warn',
143
145
  'no-const-assign': 'error',
146
+ 'no-constant-binary-expression': 'warn',
147
+ 'no-constructor-return': 'warn',
144
148
  'no-control-regex': 'off',
145
149
  'no-delete-var': 'error',
146
150
  'no-dupe-args': 'warn',
151
+ 'no-dupe-else-if': 'error',
147
152
  'no-dupe-keys': 'warn',
148
153
  'no-duplicate-case': 'warn',
149
154
  'no-eval': 'warn',
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "publishConfig": {
4
4
  "access": "public"
5
5
  },
6
- "version": "2.8.5",
6
+ "version": "2.8.8",
7
7
  "description": "Default base config for eslint",
8
8
  "main": "index.js",
9
9
  "repository": {
@@ -21,16 +21,16 @@
21
21
  "author": "Craig Hughes <craig.npm@rungie.com>",
22
22
  "license": "BSD-3-Clause",
23
23
  "dependencies": {
24
- "eslint-formatter-git-log": "^0.5.3",
24
+ "eslint-formatter-git-log": "^0.6.4",
25
25
  "eslint-plugin-eslint-comments": "^3.2.0",
26
- "eslint-plugin-lodash": "^7.2.0",
26
+ "eslint-plugin-lodash": "^7.4.0",
27
27
  "eslint-plugin-node": "^11.1.0",
28
- "eslint-plugin-promise": "^4.3.1",
29
- "eslint-plugin-regexp": "^0.6.3",
30
- "eslint-plugin-sonarjs": "^0.6.0"
28
+ "eslint-plugin-promise": "^6.0.0",
29
+ "eslint-plugin-regexp": "^1.7.0",
30
+ "eslint-plugin-sonarjs": "^0.13.0"
31
31
  },
32
32
  "devDependencies": {
33
- "eslint": "^7.23.0",
33
+ "eslint": "^8.14.0",
34
34
  "eslint-index": "^1.5.0"
35
35
  }
36
36
  }
@@ -1,9 +0,0 @@
1
- {
2
- "folders":
3
- [
4
- {
5
- "path": ".",
6
- "folder_exclude_patterns": ["node_modules"]
7
- }
8
- ]
9
- }