Skip to content

Commit

Permalink
chore: add 'ban-types' eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
SimenB committed Jul 25, 2019
1 parent 1992b3d commit f9b6668
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions .eslintrc.js
Expand Up @@ -28,6 +28,7 @@ module.exports = {
'@typescript-eslint/array-type': ['error', 'array-simple'],
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/ban-ts-ignore': 'warn',
'@typescript-eslint/ban-types': 'error',
'no-else-return': 'error',
eqeqeq: ['error', 'smart'],
strict: 'error',
Expand Down
2 changes: 1 addition & 1 deletion src/rules/no-identical-title.ts
Expand Up @@ -10,7 +10,7 @@ import {

interface DescribeContext {
describeTitles: string[];
testTitles: String[];
testTitles: string[];
}

const newDescribeContext = (): DescribeContext => ({
Expand Down

0 comments on commit f9b6668

Please sign in to comment.