@willbooster/eslint-config-js-react 11.5.0 → 11.5.2

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.config.js +1 -1
  2. package/package.json +14 -14
package/eslint.config.js CHANGED
@@ -8,7 +8,7 @@ import eslintPluginReactHooks from 'eslint-plugin-react-hooks';
8
8
  export default [
9
9
  ...jsConfig,
10
10
  {
11
- files: ['{,src/**/,tests/**/,scripts/**/}*.jsx'],
11
+ files: ['{,prisma/**/,src/**/,test/**/,scripts/**/}*.jsx'],
12
12
  },
13
13
  // cf. https://github.com/jsx-eslint/eslint-plugin-react#flat-configs
14
14
  eslintPluginReact.configs.flat.recommended,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@willbooster/eslint-config-js-react",
3
- "version": "11.5.0",
3
+ "version": "11.5.2",
4
4
  "description": "A ESLint flat config for JavaScript projects using React",
5
5
  "license": "Apache-2.0",
6
6
  "author": "WillBooster Inc.",
@@ -10,40 +10,40 @@
10
10
  "eslint.config.js"
11
11
  ],
12
12
  "scripts": {
13
- "check-all-for-ai": "yarn check-for-ai && yarn test --silent",
14
- "check-for-ai": "yarn install > /dev/null && yarn format > /dev/null && yarn lint-fix --quiet && yarn typecheck",
13
+ "check-all-for-ai": "yarn check-for-ai && yarn test",
14
+ "check-for-ai": "yarn install > /dev/null && yarn format > /dev/null 2> /dev/null || true && yarn lint-fix --quiet && yarn typecheck",
15
15
  "cleanup": "yarn format && yarn lint-fix",
16
16
  "format": "sort-package-json && yarn prettify",
17
17
  "lint": "eslint --color",
18
18
  "lint-fix": "yarn lint --fix --rule \"{ react-hooks/exhaustive-deps: 0 }\"",
19
- "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test{-,/}fixtures/**\"",
19
+ "prettify": "prettier --cache --color --write \"**/{.*/,}*.{cjs,css,cts,htm,html,java,js,json,json5,jsonc,jsx,md,mjs,mts,scss,ts,tsx,vue,yaml,yml}\" \"!**/test{-,/}fixtures/**\" || true",
20
20
  "test": "yarn lint"
21
21
  },
22
22
  "prettier": "@willbooster/prettier-config",
23
23
  "dependencies": {
24
- "@willbooster/eslint-config-js": "11.4.0"
24
+ "@willbooster/eslint-config-js": "11.4.2"
25
25
  },
26
26
  "devDependencies": {
27
- "@eslint/js": "9.30.0",
27
+ "@eslint/js": "9.32.0",
28
28
  "@willbooster/prettier-config": "10.2.0",
29
- "eslint": "9.30.0",
29
+ "eslint": "9.32.0",
30
30
  "eslint-config-flat-gitignore": "2.1.0",
31
- "eslint-config-prettier": "10.1.5",
31
+ "eslint-config-prettier": "10.1.8",
32
32
  "eslint-plugin-import-x": "4.16.1",
33
33
  "eslint-plugin-react": "7.37.5",
34
34
  "eslint-plugin-react-compiler": "19.1.0-rc.2",
35
35
  "eslint-plugin-react-hooks": "5.2.0",
36
36
  "eslint-plugin-sort-class-members": "1.21.0",
37
37
  "eslint-plugin-sort-destructure-keys": "2.0.0",
38
- "eslint-plugin-unicorn": "59.0.1",
38
+ "eslint-plugin-unicorn": "60.0.0",
39
39
  "eslint-plugin-unused-imports": "4.1.4",
40
- "globals": "16.2.0",
41
- "lint-staged": "16.1.2",
40
+ "globals": "16.3.0",
41
+ "lint-staged": "16.1.4",
42
42
  "micromatch": "4.0.8",
43
43
  "prettier": "3.6.2",
44
- "prettier-plugin-java": "2.7.1",
45
- "react": "19.1.0",
46
- "sort-package-json": "3.3.1"
44
+ "prettier-plugin-java": "2.7.4",
45
+ "react": "19.1.1",
46
+ "sort-package-json": "3.4.0"
47
47
  },
48
48
  "peerDependencies": {
49
49
  "@eslint/js": ">=9",