Skip to content

Commit

Permalink
chore(lint): use tsconfig.json for linting of production code
Browse files Browse the repository at this point in the history
  • Loading branch information
adrianschmidt committed Aug 25, 2020
1 parent 787c4fa commit cc14b37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ module.exports = {
parserOption: {
jsx: true,
},
project: 'tsconfig.lint.json',
project: 'tsconfig.json',
},
rules: {
'@stencil/decorators-style': 'off',
Expand All @@ -157,6 +157,7 @@ module.exports = {
},
{
files: [
'src/examples/*.{ts,tsx}',
'src/components/**/examples/*.{ts,tsx}',
'src/components/**/examples/**/*.{ts,tsx}',
'src/**/*.spec.{ts,tsx}',
Expand Down
4 changes: 0 additions & 4 deletions tsconfig.lint.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,4 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"allowJs": true
},
"include": ["."],
"exclude": ["node_modules"]
}

0 comments on commit cc14b37

Please sign in to comment.