@itcase/lint 1.0.34 → 1.0.36

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/README.md CHANGED
@@ -12,9 +12,9 @@ $ npm i -D @itcase/lint eslint stylelint prettier
12
12
 
13
13
  The sorting configuration is located in the `perfectionist` folder along the path: `eslint/perfectionist`.
14
14
 
15
- Example: Setting up sortJSXProps
15
+ > Example: Setting up sortJSXProps
16
16
 
17
- Sorting rules are defined in eslint/perfectionist/sortJSXProps.js.
17
+ Sorting rules are defined in `eslint/perfectionist/sortJSXProps.js`.
18
18
 
19
19
  Here's how to set up the order and rules:
20
20
 
@@ -130,7 +130,7 @@ npm i -D husky lint-staged
130
130
  ```bash
131
131
  #!/bin/bash
132
132
 
133
- if grep --include=*.{json,css,html} --exclude-dir={dist,node_modules,bower_components,.git} -nri --color -B 1 -A 1 '<\{7\} HEAD\|^\=\.{7\}\|>\.{7\}' .; then
133
+ if grep --include=*.{json,css,html} --exclude-dir={dist,node_modules,.git} -nri --color -B 1 -A 1 '<\{7\} HEAD\|^\=\.{7\}\|>\.{7\}' .; then
134
134
  echo 'Fix conflicts'
135
135
  exit 1
136
136
  else ./node_modules/lint-staged/bin/lint-staged.js; fi
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@itcase/lint",
3
- "version": "1.0.34",
3
+ "version": "1.0.36",
4
4
  "author": "ITCase",
5
5
  "description": "Code style linter configuration presets",
6
6
  "engines": {
@@ -34,44 +34,44 @@
34
34
  },
35
35
  "dependencies": {
36
36
  "@babel/eslint-parser": "^7.25.9",
37
- "@eslint/compat": "^1.2.3",
38
- "@eslint/js": "^9.16.0",
37
+ "@eslint/compat": "^1.2.4",
38
+ "@eslint/js": "^9.17.0",
39
39
  "@eslint/markdown": "^6.2.1",
40
40
  "@ianvs/prettier-plugin-sort-imports": "^4.4.0",
41
- "eslint": "^9.16.0",
41
+ "eslint": "^9.17.0",
42
42
  "eslint-config-prettier": "^9.1.0",
43
43
  "eslint-plugin-html": "^8.1.2",
44
44
  "eslint-plugin-json": "^4.0.1",
45
45
  "eslint-plugin-mobx": "^0.0.13",
46
- "eslint-plugin-n": "^17.14.0",
46
+ "eslint-plugin-n": "^17.15.1",
47
47
  "eslint-plugin-node": "^11.1.0",
48
- "eslint-plugin-perfectionist": "^4.1.2",
48
+ "eslint-plugin-perfectionist": "^4.6.0",
49
49
  "eslint-plugin-prettier": "^5.2.1",
50
50
  "eslint-plugin-promise": "^7.2.1",
51
- "eslint-plugin-react": "^7.37.2",
52
- "eslint-plugin-react-hooks": "^5.0.0",
53
- "eslint-plugin-react-native": "^4.1.0",
54
- "eslint-plugin-react-refresh": "^0.4.14",
55
- "eslint-plugin-storybook": "^0.11.1",
56
- "globals": "^15.13.0",
57
- "prettier": "^3.4.1",
51
+ "eslint-plugin-react": "^7.37.3",
52
+ "eslint-plugin-react-hooks": "^5.1.0",
53
+ "eslint-plugin-react-native": "^5.0.0",
54
+ "eslint-plugin-react-refresh": "^0.4.16",
55
+ "eslint-plugin-storybook": "^0.11.2",
56
+ "globals": "^15.14.0",
57
+ "prettier": "^3.4.2",
58
58
  "stylelint-config-standard": "^36.0.1",
59
59
  "stylelint-no-unsupported-browser-features": "^8.0.2",
60
60
  "stylelint-order": "^6.0.4",
61
61
  "stylelint-prettier": "^5.0.2",
62
- "typescript-eslint": "^8.16.0"
62
+ "typescript-eslint": "^8.19.1"
63
63
  },
64
64
  "devDependencies": {
65
- "@commitlint/cli": "^19.6.0",
65
+ "@commitlint/cli": "^19.6.1",
66
66
  "@commitlint/config-conventional": "^19.6.0",
67
67
  "@semantic-release/changelog": "^6.0.3",
68
68
  "@semantic-release/git": "^10.0.1",
69
- "@semantic-release/release-notes-generator": "14.0.1",
69
+ "@semantic-release/release-notes-generator": "14.0.3",
70
70
  "conventional-changelog-conventionalcommits": "^8.0.0",
71
71
  "husky": "^9.1.7",
72
- "lint-staged": "^15.2.10",
72
+ "lint-staged": "^15.3.0",
73
73
  "react": "^18.3.1",
74
- "semantic-release": "^24.2.0",
75
- "typescript": "^5.7.2"
74
+ "semantic-release": "^24.2.1",
75
+ "typescript": "^5.7.3"
76
76
  }
77
77
  }
@@ -10,6 +10,8 @@ export default {
10
10
  './**/*.tsx',
11
11
  './**/*.js',
12
12
  './**/*.mjs',
13
+ 'ios/**/*',
14
+ 'android/**/*',
13
15
  ],
14
16
  plugins: ['stylelint-prettier', 'stylelint-order', 'stylelint-no-unsupported-browser-features'],
15
17
  rules: {