Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* deps: update ESLint v7 BREAKING CHANGE: Support minimum ESLint version is v7. * test: use ESLint class instead of CLIEngine * deps: update ESLint version in devDependencies and peerDependencies BREAKING CHANGE: drop ESLint v6 support * deps: update typescript-eslint version to v3 BREAKING CHANGE: Enable new rules in @typescript-eslint/recommended - @typescript-eslint/no-extra-non-null-assertion - @typescript-eslint/no-extra-semi - @typescript-eslint/no-non-null-asserted-optional-chain -⚠️ @typescript-eslint/prefer-as-const * chore: revert changes in fixture * test: update snapshot for a disabled rule * deps: update eslint and typescript-eslint * deps: update typescript-eslint/* to v3.3.0 * deps: update ESLint and typescript-eslint/*
- Loading branch information
Showing
6 changed files
with
260 additions
and
289 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,8 @@ | ||
const runLint = require('./lib/runLint') | ||
|
||
describe('fixtures', () => { | ||
it('should match the snapshot', () => { | ||
const result = runLint('./index.js', './test/fixtures') | ||
it('should match the snapshot', async () => { | ||
const result = await runLint('./index.js', './test/fixtures') | ||
expect(result).toMatchSnapshot() | ||
}) | ||
}) |
Oops, something went wrong.