Skip to content

Commit 43bd45c

Browse files
authored
Merge pull request #26 from SparkPost/typescript-linting
Fixed an issue with conflicting eslint/prettier rules.
2 parents 25d6e82 + 835f4e4 commit 43bd45c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

index.js

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,13 @@ module.exports = {
8888
},
8989
{
9090
files: ['*.ts'],
91-
extends: ['plugin:@typescript-eslint/eslint-recommended', 'plugin:@typescript-eslint/recommended'],
91+
extends:
92+
[
93+
'plugin:@typescript-eslint/eslint-recommended',
94+
'plugin:@typescript-eslint/recommended',
95+
'prettier/@typescript-eslint',
96+
'plugin:prettier/recommended'
97+
],
9298
env: {
9399
es6: true
94100
},

0 commit comments

Comments
 (0)