Add prefer string starts/ends with eslint rule

This commit is contained in:
Bill Thornton 2023-05-04 23:45:03 -04:00
parent 5f86d89ca6
commit 6e057f07f9
2 changed files with 3 additions and 2 deletions

View file

@ -245,7 +245,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