Skip to content

Commit

Permalink
feat: upgrade plugin to v2.3.3
Browse files Browse the repository at this point in the history
BREAKING CHANGE: add @typescript-eslint/no-unnecessary-condition

Closes #154.
  • Loading branch information
mightyiam committed Nov 21, 2019
1 parent 30a92ec commit e6259a2
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -55,7 +55,7 @@
"TypeScript"
],
"dependencies": {
"@typescript-eslint/parser": "^2.2.0",
"@typescript-eslint/parser": "^2.3.3",
"eslint-config-standard": "^14.1.0"
},
"peerDependencies": {
Expand All @@ -71,7 +71,7 @@
"@commitlint/config-conventional": "^8.2.0",
"@commitlint/travis-cli": "^8.2.0",
"@types/node": "^12.12.11",
"@typescript-eslint/eslint-plugin": "^2.2.0",
"@typescript-eslint/eslint-plugin": "^2.3.3",
"ava": "^2.4.0",
"editorconfig-checker": "^3.0.3",
"eslint": "^6.6.0",
Expand Down
1 change: 1 addition & 0 deletions src/index.test.ts
Expand Up @@ -70,6 +70,7 @@ test('export', (t): void => {
'@typescript-eslint/no-namespace': 'error',
'@typescript-eslint/no-non-null-assertion': 'error',
'@typescript-eslint/no-this-alias': ['error', { allowDestructuring: true }],
'@typescript-eslint/no-unnecessary-condition': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
'@typescript-eslint/no-unused-vars': ['error', { vars: 'all', args: 'none', ignoreRestSiblings: true }],
'@typescript-eslint/no-use-before-define': ['error', { functions: false, classes: false, variables: false, typedefs: false }],
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Expand Up @@ -75,6 +75,7 @@ export = {
'@typescript-eslint/no-namespace': 'error',
'@typescript-eslint/no-non-null-assertion': 'error',
'@typescript-eslint/no-this-alias': ['error', { allowDestructuring: true }],
'@typescript-eslint/no-unnecessary-condition': 'error',
'@typescript-eslint/no-unnecessary-type-assertion': 'error',
'@typescript-eslint/no-var-requires': 'error',
'@typescript-eslint/prefer-function-type': 'error',
Expand Down

0 comments on commit e6259a2

Please sign in to comment.