Skip to content

Commit cfb00d9

Browse files
author
devgioele
committed
add testing for ts-next config
1 parent f8aabeb commit cfb00d9

3 files changed

Lines changed: 16 additions & 0 deletions

File tree

.eslintrc.ts-next.json

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"extends": "./ts-next.js",
3+
"parserOptions": {
4+
"project": "./tsconfig.ts-next.json"
5+
}
6+
}

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@
2525
"ts-react:lint": "eslint -c .eslintrc.ts-react.json test/ts-react",
2626
"ts-react:lint:fix": "npm run ts-react:lint -- --fix",
2727
"ts-react:typecheck": "tsc --project tsconfig.ts-react.json --noEmit",
28+
"ts-next:lint": "eslint -c .eslintrc.ts-next.json test/ts-next",
29+
"ts-next:lint:fix": "npm run ts-next:lint -- --fix",
30+
"ts-next:typecheck": "tsc --project tsconfig.ts-next.json --noEmit",
2831
"postversion": "git push && git push --tags"
2932
},
3033
"repository": {

tsconfig.ts-next.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"extends": "@aboutbits/ts-config/react",
3+
"compilerOptions": {
4+
"skipLibCheck": true
5+
},
6+
"include": ["test/ts-next/**/*.ts", "test/ts-next/**/*.tsx"]
7+
}

0 commit comments

Comments
 (0)