File tree Expand file tree Collapse file tree 5 files changed +35
-40
lines changed
Expand file tree Collapse file tree 5 files changed +35
-40
lines changed Original file line number Diff line number Diff line change 1515 "overrides": [
1616 {
1717 "files": [
18- "test/**/*"
18+ "{src,test}/**/*.ts",
19+ "jest.config.js"
1920 ],
2021 "rules": {
2122 "@typescript-eslint/no-var-requires": "off"
Original file line number Diff line number Diff line change 11module . exports = {
2- verbose : false ,
3- silent : true ,
4- forceExit : true ,
5- testEnvironment : "node" ,
6- globals : {
7- "ts-jest" : {
8- tsconfig : "./tsconfig.json" ,
9- isolatedModules : true
10- }
2+ verbose : false ,
3+ silent : true ,
4+ forceExit : true ,
5+ testEnvironment : 'node' ,
6+ globals : {
7+ 'ts-jest' : {
8+ tsconfig : './tsconfig.json' ,
9+ isolatedModules : true ,
1110 } ,
12- transform : {
13- "^.+\\.tsx?$" : "ts-jest"
14- } ,
15- testRegex : "/.+test/.+.(test|spec).(ts|js)" ,
16- collectCoverageFrom : [ '<rootDir>/src/**/*.ts' ] ,
11+ } ,
12+ transform : {
13+ '^.+\\.tsx?$' : 'ts-jest' ,
14+ } ,
15+ testRegex : '/.+test/.+.(test|spec).(ts|js)' ,
16+ collectCoverageFrom : [ '<rootDir>/src/**/*.ts' ] ,
1717} ;
Original file line number Diff line number Diff line change 1212 "prepublish" : " npm run build" ,
1313 "test" : " jest --coverage --config ./jest.config.js" ,
1414 "ci" : " npm run lint && npm run test" ,
15- "lint:fix" : " eslint . --ext .ts -- fix" ,
16- "lint" : " eslint . --ext .ts "
15+ "lint:fix" : " eslint . --fix" ,
16+ "lint" : " eslint ."
1717 },
1818 "repository" : {
1919 "type" : " git" ,
Original file line number Diff line number Diff line change 1- {
2- "extends" : " ./tsconfig.json" ,
3- "compilerOptions" : {
4- "rootDir" : " ./src" ,
5- },
6- "exclude" : [" test" ," lib" ]
7- }
1+ {
2+ "extends" : " ./tsconfig.json" ,
3+ "compilerOptions" : {
4+ "rootDir" : " ./src"
5+ },
6+ "exclude" : [" test" , " lib" ]
7+ }
Original file line number Diff line number Diff line change 11{
2- "extends" : " @artus/tsconfig" ,
3- "compilerOptions" : {
4- "outDir" : " ./lib" ,
5- "strictNullChecks" : true ,
6- "strictFunctionTypes" : true ,
7- "strictPropertyInitialization" : true ,
8- "types" : [
9- " node" ,
10- " jest" ,
11- " reflect-metadata"
12- ],
13- },
14- "exclude" : [
15- " lib"
16- ],
17- }
2+ "extends" : " @artus/tsconfig" ,
3+ "compilerOptions" : {
4+ "outDir" : " ./lib" ,
5+ "strictNullChecks" : true ,
6+ "strictFunctionTypes" : true ,
7+ "strictPropertyInitialization" : true ,
8+ "types" : [" node" , " jest" , " reflect-metadata" ]
9+ },
10+ "exclude" : [" lib" ]
11+ }
You can’t perform that action at this time.
0 commit comments