@10stars/config 8.0.4 → 9.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/.eslintrc.js +3 -2
  2. package/package.json +4 -4
package/.eslintrc.js CHANGED
@@ -45,7 +45,8 @@ const type = {
45
45
  }
46
46
 
47
47
  module.exports = {
48
- parser: require.resolve(`@typescript-eslint/parser`), // Specifies the ESLint parser
48
+ root: true, // https://eslint.org/docs/latest/use/configure/configuration-files#using-configuration-files
49
+ parser: `@typescript-eslint/parser`, // Specifies the ESLint parser
49
50
  ignorePatterns: [`**/node_modules`, `**/.git`, `**/dist`, `**/tmp`],
50
51
  plugins: [
51
52
  `@typescript-eslint`,
@@ -184,7 +185,7 @@ module.exports = {
184
185
  "@typescript-eslint/quotes": [type.warning, `backtick`],
185
186
  "@typescript-eslint/consistent-type-definitions": [
186
187
  type.warning, // @see https://www.typescriptlang.org/docs/handbook/2/everyday-types.html#differences-between-type-aliases-and-interfaces
187
- `type`, // there are many drawbacks in using `interface` over `type`. It saves time to use `type` everywhere
188
+ `interface`, // Code lens can only highlight use of properties in "interface" definitions
188
189
  ],
189
190
  "no-magic-numbers": type.ignore,
190
191
  "@typescript-eslint/no-magic-numbers": [
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "access": "public"
5
5
  },
6
6
  "name": "@10stars/config",
7
- "version": "8.0.4",
7
+ "version": "9.0.0",
8
8
  "author": "10stars.dev <web@alexandrov.co> (https://alexandrov.co)",
9
9
  "license": "MIT",
10
10
  "module": "./src/index.ts",
@@ -27,12 +27,12 @@
27
27
  "@commitlint/cli": "^17.0.0",
28
28
  "@commitlint/config-conventional": "^17.0.0",
29
29
  "@types/lodash": "^4.0.0",
30
- "@types/node": "^18.0.0",
30
+ "@types/node": "^20.0.0",
31
31
  "@types/react": "^18.0.0",
32
32
  "@typescript-eslint/eslint-plugin": "^5.0.0",
33
33
  "@typescript-eslint/parser": "^5.0.0",
34
34
  "builtin-modules": "^3.3.0",
35
- "esbuild": "~0.17.2",
35
+ "esbuild": "~0.17.19",
36
36
  "tsx": "^3.8.0",
37
37
  "eslint": "^8.0.0",
38
38
  "eslint-config-prettier": "^8.0.0",
@@ -45,6 +45,6 @@
45
45
  "husky": "^8.0.0",
46
46
  "prettier": "^2.0.0",
47
47
  "type-fest": "^3.0.0",
48
- "typescript": "^5.0.0-dev.20230128"
48
+ "typescript": "^5.0.2"
49
49
  }
50
50
  }