@mlaursen/eslint-config 3.0.0 → 4.1.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.
Files changed (2) hide show
  1. package/index.js +1 -1
  2. package/package.json +18 -16
package/index.js CHANGED
@@ -159,7 +159,7 @@ module.exports = {
159
159
  },
160
160
  {
161
161
  files: ["**/__tests__/**", "**/*.test.*"],
162
- extends: ["plugin:jest/recommended"],
162
+ extends: ["plugin:jest/recommended", "plugin:testing-library/react"],
163
163
  rules: {
164
164
  // it's valid to do @jest-environment or other things in tests
165
165
  "tsdoc/syntax": 0,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlaursen/eslint-config",
3
- "version": "3.0.0",
3
+ "version": "4.1.0",
4
4
  "description": "An eslint config used by mlaursen for most projects.",
5
5
  "main": "index.js",
6
6
  "repository": "https://github.com/mlaursen/eslint-config.git",
@@ -22,33 +22,34 @@
22
22
  "typescript"
23
23
  ],
24
24
  "dependencies": {
25
- "@typescript-eslint/eslint-plugin": "^6.7.2",
26
- "@typescript-eslint/parser": "^6.7.2",
25
+ "@typescript-eslint/eslint-plugin": "^6.19.1",
26
+ "@typescript-eslint/parser": "^6.19.1",
27
27
  "confusing-browser-globals": "^1.0.11",
28
- "eslint-config-prettier": "^9.0.0",
29
- "eslint-plugin-import": "^2.28.1",
30
- "eslint-plugin-jest": "^27.4.0",
31
- "eslint-plugin-jsx-a11y": "^6.7.1",
28
+ "eslint-config-prettier": "^9.1.0",
29
+ "eslint-plugin-import": "^2.29.1",
30
+ "eslint-plugin-jest": "^27.6.3",
31
+ "eslint-plugin-jsx-a11y": "^6.8.0",
32
32
  "eslint-plugin-react": "^7.33.2",
33
33
  "eslint-plugin-react-hooks": "^4.6.0",
34
+ "eslint-plugin-testing-library": "^6.2.0",
34
35
  "eslint-plugin-tsdoc": "^0.2.17"
35
36
  },
36
37
  "devDependencies": {
37
38
  "@mlaursen/changelog-preset": "^1.1.0",
38
- "@octokit/core": "^5.0.0",
39
- "@swc/core": "^1.3.67",
40
- "@types/inquirer": "^9.0.3",
41
- "@types/node": "^20.6.0",
42
- "dotenv": "^16.3.1",
43
- "eslint": "^8.49.0",
39
+ "@octokit/core": "^5.1.0",
40
+ "@swc/core": "^1.3.106",
41
+ "@types/inquirer": "^9.0.7",
42
+ "@types/node": "^20.11.8",
43
+ "dotenv": "^16.4.1",
44
+ "eslint": "^8.56.0",
44
45
  "inquirer": "^8.2.4",
45
46
  "standard-version": "^9.5.0",
46
- "ts-node": "^10.9.1",
47
- "typescript": "^5.2.2"
47
+ "ts-node": "^10.9.2",
48
+ "typescript": "^5.3.3"
48
49
  },
49
50
  "peerDependencies": {
50
51
  "eslint": ">= 8.0.0",
51
- "typescript": ">= 4"
52
+ "typescript": ">= 5"
52
53
  },
53
54
  "peerDependenciesMeta": {
54
55
  "eslint": {
@@ -63,6 +64,7 @@
63
64
  },
64
65
  "scripts": {
65
66
  "test": "eslint -c index.js \"test/**/*.{js,jsx,ts,tsx}\"",
67
+ "lint": "eslint -c scripts/.eslintrc.js \"scripts/**/*.ts\"",
66
68
  "cli": "ts-node -P tsconfig.json --swc",
67
69
  "release": "pnpm run cli scripts/release.ts"
68
70
  }