@mlaursen/eslint-config 2.4.0 → 3.0.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 +9 -2
  2. package/package.json +11 -11
package/index.js CHANGED
@@ -66,6 +66,11 @@ module.exports = {
66
66
  files: ["**/*.ts", "**/*.tsx"],
67
67
  extends: ["plugin:@typescript-eslint/recommended"],
68
68
  rules: {
69
+ "@typescript-eslint/consistent-type-imports": [
70
+ "error",
71
+ { fixStyle: "inline-type-imports" },
72
+ ],
73
+
69
74
  // I want correct tsdoc syntax
70
75
  "tsdoc/syntax": "warn",
71
76
 
@@ -140,10 +145,12 @@ module.exports = {
140
145
  "@typescript-eslint/ban-ts-comment": "off",
141
146
  "@typescript-eslint/no-empty-function": "off",
142
147
 
143
- "jsx-a11y/no-autofocus": "off",
144
- "jsx-a11y/no-static-element-interactions": "off",
148
+ "jsx-a11y/anchor-has-content": 0,
145
149
  "jsx-a11y/anchor-is-valid": "off",
150
+ "jsx-a11y/click-events-have-key-events": 0,
146
151
  "jsx-a11y/control-has-associated-label": "off",
152
+ "jsx-a11y/no-autofocus": "off",
153
+ "jsx-a11y/no-static-element-interactions": "off",
147
154
 
148
155
  "react/prop-types": "off",
149
156
  "react/display-name": "off",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mlaursen/eslint-config",
3
- "version": "2.4.0",
3
+ "version": "3.0.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,29 +22,29 @@
22
22
  "typescript"
23
23
  ],
24
24
  "dependencies": {
25
- "@typescript-eslint/eslint-plugin": "^5.61.0",
26
- "@typescript-eslint/parser": "^5.61.0",
25
+ "@typescript-eslint/eslint-plugin": "^6.7.2",
26
+ "@typescript-eslint/parser": "^6.7.2",
27
27
  "confusing-browser-globals": "^1.0.11",
28
- "eslint-config-prettier": "^8.8.0",
29
- "eslint-plugin-import": "^2.27.5",
30
- "eslint-plugin-jest": "^27.2.2",
28
+ "eslint-config-prettier": "^9.0.0",
29
+ "eslint-plugin-import": "^2.28.1",
30
+ "eslint-plugin-jest": "^27.4.0",
31
31
  "eslint-plugin-jsx-a11y": "^6.7.1",
32
- "eslint-plugin-react": "^7.32.2",
32
+ "eslint-plugin-react": "^7.33.2",
33
33
  "eslint-plugin-react-hooks": "^4.6.0",
34
34
  "eslint-plugin-tsdoc": "^0.2.17"
35
35
  },
36
36
  "devDependencies": {
37
37
  "@mlaursen/changelog-preset": "^1.1.0",
38
- "@octokit/core": "^4.2.4",
38
+ "@octokit/core": "^5.0.0",
39
39
  "@swc/core": "^1.3.67",
40
40
  "@types/inquirer": "^9.0.3",
41
- "@types/node": "^20.3.3",
41
+ "@types/node": "^20.6.0",
42
42
  "dotenv": "^16.3.1",
43
- "eslint": "^8.44.0",
43
+ "eslint": "^8.49.0",
44
44
  "inquirer": "^8.2.4",
45
45
  "standard-version": "^9.5.0",
46
46
  "ts-node": "^10.9.1",
47
- "typescript": "^5.1.6"
47
+ "typescript": "^5.2.2"
48
48
  },
49
49
  "peerDependencies": {
50
50
  "eslint": ">= 8.0.0",