Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
with
675 additions
and 488 deletions.
- +3 −1 .eslintrc.js
- +10 −10 package.json
- +1 −0 src/rules/__tests__/consistent-test-it.test.ts
- +1 −0 src/rules/__tests__/expect-expect.test.ts
- +1 −0 src/rules/__tests__/lowercase-name.test.ts
- +1 −0 src/rules/__tests__/no-commented-out-tests.test.ts
- +1 −0 src/rules/__tests__/no-disabled-tests.test.ts
- +1 −0 src/rules/__tests__/no-duplicate-hooks.test.ts
- +1 −0 src/rules/__tests__/no-expect-resolves.test.ts
- +1 −0 src/rules/__tests__/no-export.test.ts
- +1 −0 src/rules/__tests__/no-hooks.test.ts
- +1 −0 src/rules/__tests__/no-identical-title.test.ts
- +1 −0 src/rules/__tests__/no-if.test.ts
- +1 −0 src/rules/__tests__/no-large-snapshots.test.ts
- +1 −0 src/rules/__tests__/no-standalone-expect-test.ts
- +1 −0 src/rules/__tests__/no-test-callback.test.ts
- +1 −0 src/rules/__tests__/no-test-return-statement.test.ts
- +1 −0 src/rules/__tests__/prefer-expect-assertions.test.ts
- +1 −0 src/rules/__tests__/prefer-hooks-on-top.test.ts
- +1 −0 src/rules/__tests__/prefer-spy-on.test.ts
- +1 −0 src/rules/__tests__/prefer-to-have-length.test.ts
- +1 −0 src/rules/__tests__/prefer-todo.test.ts
- +1 −0 src/rules/__tests__/require-top-level-describe.test.ts
- +1 −0 src/rules/__tests__/require-tothrow-message.test.ts
- +1 −0 src/rules/__tests__/valid-describe.test.ts
- +1 −0 src/rules/__tests__/valid-expect-in-promise.test.ts
- +1 −0 src/rules/__tests__/valid-expect.test.ts
- +1 −0 src/rules/__tests__/valid-title.test.ts
- +636 −477 yarn.lock
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
@@ -3,6 +3,7 @@ import rule from '../consistent-test-it'; | ||
import { TestCaseName } from '../utils'; | ||
|
||
const ruleTester = new TSESLint.RuleTester({ | ||
parser: 'espree', | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
}, | ||
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
@@ -5,6 +5,7 @@ import { | ||
import rule from '../expect-expect'; | ||
|
||
const ruleTester = new TSESLint.RuleTester({ | ||
parser: 'espree', | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
}, | ||
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
@@ -3,6 +3,7 @@ import rule from '../no-hooks'; | ||
import { HookName } from '../utils'; | ||
|
||
const ruleTester = new TSESLint.RuleTester({ | ||
parser: 'espree', | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
}, | ||
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
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
@@ -5,6 +5,7 @@ import { | ||
import rule from '../prefer-spy-on'; | ||
|
||
const ruleTester = new TSESLint.RuleTester({ | ||
parser: 'espree', | ||
parserOptions: { | ||
ecmaVersion: 6, | ||
}, | ||
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
Oops, something went wrong.