File tree Expand file tree Collapse file tree 5 files changed +265
-16
lines changed
packages/eslint-config-turbo Expand file tree Collapse file tree 5 files changed +265
-16
lines changed Original file line number Diff line number Diff line change 7272 # to run when turbo core changes. This job (`js_packages`) does not run on turborpeo core
7373 # changes, and we don't want to enable that beahvior for _all_ our JS packages.
7474 run : |
75- TURBO_API= turbo run check-types test build --filter="!turborepo-repository" --filter={./packages/*}...[${{ github.event.pull_request.base.sha || 'HEAD^1' }}] --color --env-mode=strict
75+ TURBO_API= turbo run check-types test build package-checks --filter="!turborepo-repository" --filter={./packages/*}...[${{ github.event.pull_request.base.sha || 'HEAD^1' }}] --color --env-mode=strict
7676 env :
7777 NODE_VERSION : ${{ matrix.node-version }}
7878
Original file line number Diff line number Diff line change 11{
22 "name" : " eslint-config-turbo" ,
33 "version" : " 2.5.6" ,
4+ "type" : " commonjs" ,
45 "description" : " ESLint config for Turborepo" ,
6+ "license" : " MIT" ,
7+ "author" : " Vercel" ,
58 "repository" : {
69 "type" : " git" ,
7- "url" : " https://github.com/vercel/turborepo" ,
10+ "url" : " git+ https://github.com/vercel/turborepo.git " ,
811 "directory" : " packages/eslint-config-turbo"
912 },
1013 "bugs" : {
1316 "scripts" : {
1417 "build" : " bunchee" ,
1518 "lint" : " eslint src" ,
16- "lint:prettier" : " prettier -c . --cache --ignore-path=../../.prettierignore"
19+ "lint:prettier" : " prettier -c . --cache --ignore-path=../../.prettierignore" ,
20+ "package:lint" : " publint --strict" ,
21+ "package:types" : " attw --profile node16 --pack"
1722 },
1823 "keywords" : [
1924 " turbo" ,
2227 " eslintconfig" ,
2328 " eslint-config"
2429 ],
30+ "files" : [
31+ " dist"
32+ ],
2533 "main" : " ./dist/cjs/index.js" ,
34+ "types" : " ./dist/cjs/index.d.ts" ,
35+ "module" : " ./dist/es/index.mjs" ,
2636 "exports" : {
2737 "./flat" : {
2838 "import" : {
4555 }
4656 }
4757 },
48- "author" : " Vercel" ,
4958 "dependencies" : {
5059 "eslint-plugin-turbo" : " workspace:*"
5160 },
5261 "peerDependencies" : {
5362 "eslint" : " >6.6.0" ,
5463 "turbo" : " >2.0.0"
5564 },
56- "license" : " MIT" ,
5765 "devDependencies" : {
66+ "@arethetypeswrong/cli" : " ^0.18.2" ,
5867 "@turbo/eslint-config" : " workspace:*" ,
5968 "@turbo/tsconfig" : " workspace:*" ,
6069 "@types/eslint" : " ^8.56.10" ,
6170 "@types/node" : " ^20" ,
62- "bunchee" : " ^6.3.4"
63- },
64- "files" : [
65- " dist"
66- ],
67- "module" : " ./dist/es/index.mjs" ,
68- "types" : " ./dist/cjs/index.d.ts"
71+ "bunchee" : " ^6.3.4" ,
72+ "publint" : " ^0.3.12"
73+ }
6974}
Original file line number Diff line number Diff line change @@ -2,4 +2,5 @@ const config = {
22 extends : [ "plugin:turbo/recommended" ] ,
33} ;
44
5- module . exports = config ;
5+ // eslint-disable-next-line import/no-default-export -- ESLint convention is a default export
6+ export default config ;
You can’t perform that action at this time.
0 commit comments