@10stars/config 9.3.0 → 9.5.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/.eslintrc.js +3 -2
  2. package/package.json +3 -3
package/.eslintrc.js CHANGED
@@ -63,7 +63,6 @@ module.exports = {
63
63
  `regexp`,
64
64
  `simple-import-sort`,
65
65
  `sort-keys-fix`,
66
- // 'prettier' commented as we don't want to run prettier through eslint because of performance
67
66
  ],
68
67
  env: {
69
68
  browser: true,
@@ -77,11 +76,12 @@ module.exports = {
77
76
  `plugin:@10stars/react-hooks/recommended`,
78
77
  `plugin:regexp/recommended`,
79
78
 
79
+ `prettier`, // disables all formatting rules see: https://github.com/prettier/eslint-config-prettier
80
+
80
81
  // We use only few custom rules from the import plugin and we override some aspects with simple-import-sort
81
82
  // "plugin:import/typescript",
82
83
  // "plugin:import/warnings",
83
84
  // "plugin:import/errors",
84
- `prettier`, // see: https://github.com/prettier/eslint-config-prettier
85
85
  ],
86
86
  settings: {
87
87
  "import/parsers": { "@typescript-eslint/parser": [`.ts`, `.tsx`] },
@@ -251,5 +251,6 @@ module.exports = {
251
251
  * Regex
252
252
  */
253
253
  "regexp/no-useless-escape": type.warning,
254
+ "regexp/use-ignore-case": type.ignore, // results in a bug; https://github.com/ota-meshi/eslint-plugin-regexp/issues/672
254
255
  },
255
256
  }
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "name": "@10stars/config",
7
- "version": "9.3.0",
7
+ "version": "9.5.0",
8
8
  "author": "10stars.dev <web@alexandrov.co> (https://alexandrov.co)",
9
9
  "license": "MIT",
10
10
  "module": "./src/index.ts",
@@ -32,8 +32,8 @@
32
32
  "@typescript-eslint/eslint-plugin": "^6.0.0",
33
33
  "@typescript-eslint/parser": "^6.0.0",
34
34
  "builtin-modules": "^3.3.0",
35
- "esbuild": "~0.19.2",
36
- "tsx": "^3.8.0",
35
+ "esbuild": "~0.19.5",
36
+ "tsx": "^4.0.0",
37
37
  "eslint": "^8.0.0",
38
38
  "eslint-config-prettier": "^9.0.0",
39
39
  "eslint-plugin-import": "^2.0.0",