Merge pull request #4570 from thornbill/prefer-starts-ends-with
Add prefer string starts/ends with eslint rule
This commit is contained in:
commit
df158c0b7b
2 changed files with 3 additions and 2 deletions
|
@ -253,7 +253,8 @@ module.exports = {
|
|||
'Windows': 'readonly'
|
||||
},
|
||||
rules: {
|
||||
'@typescript-eslint/no-floating-promises': ['warn']
|
||||
'@typescript-eslint/no-floating-promises': ['warn'],
|
||||
'@typescript-eslint/prefer-string-starts-ends-with': ['error']
|
||||
}
|
||||
},
|
||||
// TypeScript source files
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue