@itcase/lint 1.0.8 → 1.0.10

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 (2) hide show
  1. package/eslint/index.js +4 -1
  2. package/package.json +10 -10
package/eslint/index.js CHANGED
@@ -35,9 +35,12 @@ const eslintConfig = [
35
35
  // @typescript-eslint
36
36
  '@typescript-eslint/ban-ts-comment': 'off',
37
37
  '@typescript-eslint/no-explicit-any': 'off',
38
+ // Sometimes you need an empty one, for example when extends
39
+ '@typescript-eslint/no-empty-object-type': 'off',
38
40
 
39
41
  // react
40
- 'react/prop-types': 'error',
42
+ // TODO: make rule "react/prop-types" as error only for JS(x) files
43
+ 'react/prop-types': 'off',
41
44
  'react/react-in-jsx-scope': 'off',
42
45
 
43
46
  // react-hooks
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.0.8",
3
+ "version": "1.0.10",
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"