eslint-config-turbo 2.5.6 → 2.5.7

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.
package/README.md CHANGED
@@ -62,7 +62,7 @@ You can also configure rules available in the configuration:
62
62
 
63
63
  ```json
64
64
  {
65
- "plugins": ["turbo"],
65
+ "extends": ["turbo"],
66
66
  "rules": {
67
67
  "turbo/no-undeclared-env-vars": [
68
68
  "error",
@@ -1,2 +1,5 @@
1
+ declare const config: {
2
+ extends: string[];
3
+ };
1
4
 
2
- export { }
5
+ export { config as default };
package/dist/cjs/index.js CHANGED
@@ -1,6 +1,9 @@
1
+ Object.defineProperty(exports, '__esModule', { value: true });
2
+
1
3
  const config = {
2
4
  extends: [
3
5
  "plugin:turbo/recommended"
4
6
  ]
5
7
  };
6
- module.exports = config;
8
+
9
+ exports.default = config;
@@ -1,2 +1,5 @@
1
+ declare const config: {
2
+ extends: string[];
3
+ };
1
4
 
2
- export { }
5
+ export { config as default };
package/dist/es/index.mjs CHANGED
@@ -3,4 +3,5 @@ const config = {
3
3
  "plugin:turbo/recommended"
4
4
  ]
5
5
  };
6
- module.exports = config;
6
+
7
+ export { config as default };
package/package.json CHANGED
@@ -1,10 +1,13 @@
1
1
  {
2
2
  "name": "eslint-config-turbo",
3
- "version": "2.5.6",
3
+ "version": "2.5.7",
4
+ "type": "commonjs",
4
5
  "description": "ESLint config for Turborepo",
6
+ "license": "MIT",
7
+ "author": "Vercel",
5
8
  "repository": {
6
9
  "type": "git",
7
- "url": "https://github.com/vercel/turborepo",
10
+ "url": "git+https://github.com/vercel/turborepo.git",
8
11
  "directory": "packages/eslint-config-turbo"
9
12
  },
10
13
  "bugs": {
@@ -17,7 +20,12 @@
17
20
  "eslintconfig",
18
21
  "eslint-config"
19
22
  ],
23
+ "files": [
24
+ "dist"
25
+ ],
20
26
  "main": "./dist/cjs/index.js",
27
+ "types": "./dist/cjs/index.d.ts",
28
+ "module": "./dist/es/index.mjs",
21
29
  "exports": {
22
30
  "./flat": {
23
31
  "import": {
@@ -40,30 +48,27 @@
40
48
  }
41
49
  }
42
50
  },
43
- "author": "Vercel",
44
51
  "dependencies": {
45
- "eslint-plugin-turbo": "2.5.6"
52
+ "eslint-plugin-turbo": "2.5.7"
46
53
  },
47
54
  "peerDependencies": {
48
55
  "eslint": ">6.6.0",
49
56
  "turbo": ">2.0.0"
50
57
  },
51
- "license": "MIT",
52
58
  "devDependencies": {
59
+ "@arethetypeswrong/cli": "^0.18.2",
53
60
  "@types/eslint": "^8.56.10",
54
61
  "@types/node": "^20",
55
62
  "bunchee": "^6.3.4",
56
- "@turbo/eslint-config": "0.0.0",
57
- "@turbo/tsconfig": "0.0.0"
63
+ "publint": "^0.3.12",
64
+ "@turbo/tsconfig": "0.0.0",
65
+ "@turbo/eslint-config": "0.0.0"
58
66
  },
59
- "files": [
60
- "dist"
61
- ],
62
- "module": "./dist/es/index.mjs",
63
- "types": "./dist/cjs/index.d.ts",
64
67
  "scripts": {
65
68
  "build": "bunchee",
66
69
  "lint": "eslint src",
67
- "lint:prettier": "prettier -c . --cache --ignore-path=../../.prettierignore"
70
+ "lint:prettier": "prettier -c . --cache --ignore-path=../../.prettierignore",
71
+ "package:lint": "publint --strict",
72
+ "package:types": "attw --profile node16 --pack"
68
73
  }
69
74
  }