@smartive/eslint-config 5.1.0 → 5.2.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.
package/.eslintrc.js CHANGED
@@ -13,7 +13,7 @@ module.exports = {
13
13
  'array-callback-return': 'error',
14
14
  'no-debugger': 'error',
15
15
  'no-alert': 'error',
16
- 'no-console': ['error', { allow: ['info', 'warn', 'error', 'trace', 'time', 'timeEnd'] }],
16
+ 'no-console': ['error', { allow: ['debug', 'info', 'warn', 'error', 'trace', 'time', 'timeEnd'] }],
17
17
  'newline-before-return': 'error',
18
18
  'prefer-const': 'error',
19
19
  'no-else-return': 'error',
package/.husky/commit-msg CHANGED
@@ -1,4 +1 @@
1
- #!/usr/bin/env sh
2
- . "$(dirname -- "$0")/_/husky.sh"
3
-
4
1
  npm run commitlint ${1}
package/.nvmrc ADDED
@@ -0,0 +1 @@
1
+ 20
package/CHANGELOG.md CHANGED
@@ -1,6 +1,6 @@
1
- # [5.1.0](https://github.com/smartive/eslint-config/compare/v5.0.0...v5.1.0) (2023-12-11)
1
+ # [5.2.0](https://github.com/smartive/eslint-config/compare/v5.1.0...v5.2.0) (2024-11-07)
2
2
 
3
3
 
4
4
  ### Features
5
5
 
6
- * allow floating promises for JSX attributes ([#21](https://github.com/smartive/eslint-config/issues/21)) ([9d9f0f8](https://github.com/smartive/eslint-config/commit/9d9f0f85712cc3cb46aa6d774ba92d5bc1656c2e))
6
+ * Allow console.debug() ([#33](https://github.com/smartive/eslint-config/issues/33)) ([1c56a19](https://github.com/smartive/eslint-config/commit/1c56a1931571a7edc2ab2cd0e2b094d18d7be772))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smartive/eslint-config",
3
- "version": "5.1.0",
3
+ "version": "5.2.0",
4
4
  "description": "ESLint configuration by smartive",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -32,16 +32,16 @@
32
32
  "eslint": "^8.0.0"
33
33
  },
34
34
  "devDependencies": {
35
- "@commitlint/cli": "^17.8.0",
36
- "@commitlint/config-conventional": "^17.8.0",
35
+ "@commitlint/cli": "^19.0.0",
36
+ "@commitlint/config-conventional": "^19.0.0",
37
37
  "@smartive/prettier-config": "^3.0.0",
38
38
  "cz-conventional-changelog": "^3.3.0",
39
- "husky": "^8.0.3",
39
+ "husky": "^9.0.0",
40
40
  "prettier": "^3.0.0"
41
41
  },
42
42
  "scripts": {
43
43
  "commitlint": "commitlint --edit",
44
- "prepare": "[ ! -f node_modules/.bin/husky ] || husky install"
44
+ "prepare": "[ ! -f node_modules/.bin/husky ] || husky"
45
45
  },
46
46
  "config": {
47
47
  "commitizen": {