Skip to content
This repository has been archived by the owner on Sep 23, 2023. It is now read-only.

Commit

Permalink
Create seperate tsconfig for linting
Browse files Browse the repository at this point in the history
  • Loading branch information
Silind committed Feb 10, 2020
1 parent 34b0727 commit 57aa4a8
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
},
"ecmaVersion": 2018,
"sourceType": "module",
"project": "./tsconfig.json"
"project": "./tsconfig.eslint.json"
},
"plugins": ["react", "@typescript-eslint"],
"rules": {
Expand Down
2 changes: 1 addition & 1 deletion test/detectDireflowSetup.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fileMock({

describe('Detect Direflow Setup', () => {
afterAll(() => {
fileMock.restore()
fileMock.restore();
});

it('should return true if Direflow Setup', () => {
Expand Down
4 changes: 4 additions & 0 deletions tsconfig.eslint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "./tsconfig.json",
"exclude": ["node_modules", "dist", "templates"]
}

0 comments on commit 57aa4a8

Please sign in to comment.