Skip to content

Commit

Permalink
use different tsconfig for linter
Browse files Browse the repository at this point in the history
  • Loading branch information
cezaraugusto authored and petemill committed Jan 11, 2019
1 parent f269e5c commit cc17e09
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"lint": "tslint --project tsconfig.json 'components/**/*.{ts,tsx}'",
"lint": "tslint --project tsconfig-lint.json 'components/**/*.{ts,tsx}'",
"pep8": "pycodestyle --max-line-length 120 -r script",
"web-ui-gen-grd": "node components/webpack/gen-webpack-grd",
"web-ui": "webpack --config components/webpack/webpack.config.js --progress --colors",
Expand Down
9 changes: 9 additions & 0 deletions tsconfig-lint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"extends": "./tsconfig",
"include": [
"./components/**/*"
],
"exclude": [
"./components/brave_sync/extension"
]
}
7 changes: 1 addition & 6 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,6 @@
"noUnusedLocals": true
},
"include": [
"./components/definitions/*",
"./components/**/*"
],
"exclude": [
"./components/test/**/*",
"./components/brave_sync/extension"
"./components/definitions/*"
]
}

0 comments on commit cc17e09

Please sign in to comment.