Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: backport non-breaking changes from next (#607)
* chore: enable eslint core rules enabled by v3 of `@typescript-eslint` * chore: target `es2015` in `tsconfig.json` This is required for using private identifiers, which are used by `@typescript-eslint` v3. We don't use `tsc` to actually build any code, so this change only affects the typechecking side of the compiler. * chore(valid-title): adjust default for `disallowedWords` option `@typescript-eslint` v3 changed the structure of their types, meaning that we need to type the options for `valid-title`. This in turn means we have to provide a direct default value for the `disallowedWords` option, in turn meaning we have to adjust our test to ensure proper coverage instead of relying on the `default` property. * chore(prefer-expect-assertions): adjust how report object is built `@typescript-eslint` v3 changed the structure of their types, meaning that the `suggest` property in `TSESLint.ReportDescriptor` is now marked as being `readonly`, so we can't assign to it. The easiest way around this is to just refactor our code to be slightly different, given it doesn't impact behaviour, performance, or clarity. * chore: apply prettier to `renovate.json` * chore: explicitly set `prettier` options
- Loading branch information
Showing
8 changed files
with
37 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters