@itcase/lint 1.0.7 → 1.0.9

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/eslint/index.js CHANGED
@@ -37,7 +37,8 @@ const eslintConfig = [
37
37
  '@typescript-eslint/no-explicit-any': 'off',
38
38
 
39
39
  // react
40
- 'react/prop-types': 'error',
40
+ // TODO: make rule "react/prop-types" as error only for JS(x) files
41
+ 'react/prop-types': 'off',
41
42
  'react/react-in-jsx-scope': 'off',
42
43
 
43
44
  // react-hooks
@@ -12,7 +12,7 @@ export default [
12
12
  // mobx
13
13
  'mobx/exhaustive-make-observable': 'warn',
14
14
  'mobx/missing-make-observable': 'error',
15
- 'mobx/missing-observer': 'warn',
15
+ 'mobx/missing-observer': 'off',
16
16
  'mobx/no-anonymous-observer': 'warn',
17
17
  'mobx/unconditional-make-observable': 'error',
18
18
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.0.7",
3
+ "version": "1.0.9",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets",
6
6
  "engines": {
@@ -29,22 +29,22 @@
29
29
  "registry": "https://registry.npmjs.org/"
30
30
  },
31
31
  "dependencies": {
32
- "@babel/eslint-parser": "^7.24.8",
32
+ "@babel/eslint-parser": "^7.25.1",
33
33
  "@eslint/compat": "^1.1.1",
34
- "@eslint/js": "^9.7.0",
34
+ "@eslint/js": "^9.8.0",
35
35
  "@ianvs/prettier-plugin-sort-imports": "^4.3.1",
36
- "eslint": "^9.7.0",
36
+ "eslint": "^9.8.0",
37
37
  "eslint-config-prettier": "^9.1.0",
38
38
  "eslint-plugin-mobx": "^0.0.11",
39
- "eslint-plugin-n": "17.10.0",
39
+ "eslint-plugin-n": "17.10.2",
40
40
  "eslint-plugin-node": "11.1.0",
41
41
  "eslint-plugin-perfectionist": "^3.1.2",
42
42
  "eslint-plugin-prettier": "5.2.1",
43
- "eslint-plugin-promise": "7.0.0",
43
+ "eslint-plugin-promise": "7.1.0",
44
44
  "eslint-plugin-react": "^7.35.0",
45
45
  "eslint-plugin-react-hooks": "4.6.2",
46
46
  "eslint-plugin-react-refresh": "^0.4.9",
47
- "typescript-eslint": "^7.17.0",
47
+ "typescript-eslint": "^8.0.1",
48
48
  "stylelint-config-standard": "^36.0.1",
49
49
  "stylelint-no-unsupported-browser-features": "^8.0.1",
50
50
  "stylelint-order": "^6.0.4",
@@ -56,14 +56,14 @@
56
56
  "stylelint": "^16.7.0"
57
57
  },
58
58
  "devDependencies": {
59
- "@commitlint/cli": "^19.3.0",
59
+ "@commitlint/cli": "^19.4.0",
60
60
  "@commitlint/config-conventional": "^19.2.2",
61
61
  "@semantic-release/changelog": "^6.0.3",
62
62
  "@semantic-release/git": "^10.0.1",
63
63
  "@semantic-release/release-notes-generator": "14.0.1",
64
64
  "conventional-changelog-conventionalcommits": "^8.0.0",
65
- "husky": "^9.1.2",
66
- "lint-staged": "^15.2.7",
65
+ "husky": "^9.1.4",
66
+ "lint-staged": "^15.2.8",
67
67
  "react": "^18.3.1",
68
68
  "semantic-release": "^24.0.0",
69
69
  "typescript": "^5.5.4"