Skip to content

Commit

Permalink
Merge pull request #26 from SparkPost/typescript-linting
Browse files Browse the repository at this point in the history
Fixed an issue with conflicting eslint/prettier rules.
  • Loading branch information
rdunlapSP authored Jun 5, 2020
2 parents 25d6e82 + 835f4e4 commit 43bd45c
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,13 @@ module.exports = {
},
{
files: ['*.ts'],
extends: ['plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended'],
extends:
[
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
'plugin:prettier/recommended'
],
env: {
es6: true
},
Expand Down

0 comments on commit 43bd45c

Please sign in to comment.