Skip to content

Commit

Permalink
Make TSLint issues be warnings, not errors, when running src-docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pugnascotia committed Feb 7, 2019
1 parent a353518 commit 2c8b6ad
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@

- Fixed `EuiSearchBar.Query` match_all query string must be `*` ([#1521](https://github.com/elastic/eui/pull/1521))
- Fixed `EuiSuperDatePicker` crashing with negative relative value ([#1537](https://github.com/elastic/eui/pull/1537))
- Make TSLint issues be warnings, not errors, when running `src-docs` ([#1537](https://github.com/elastic/eui/pull/1537))

## [`6.10.0`](https://github.com/elastic/eui/tree/v6.10.0)

Expand Down
2 changes: 2 additions & 0 deletions src-docs/tslint.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
extends: ../tslint.yaml
defaultSeverity: warning
2 changes: 1 addition & 1 deletion src-docs/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ module.exports = {
// run TypeScript and tslint during webpack build
new ForkTsCheckerWebpackPlugin({
tsconfig: path.resolve(__dirname, '..', 'tsconfig.json'),
tslint: path.resolve(__dirname, '..', 'tslint.yaml'),
tslint: path.resolve(__dirname, 'tslint.yaml'),
async: false, // makes errors more visible, but potentially less performant
}),
],
Expand Down

0 comments on commit 2c8b6ad

Please sign in to comment.