Skip to content

Commit

Permalink
feat: upgrade plugin to v2.7.0
Browse files Browse the repository at this point in the history
- Fixes #157
- Fixes #159
  • Loading branch information
mightyiam committed Nov 28, 2019
1 parent 536c578 commit 6af3971
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
"TypeScript"
],
"dependencies": {
"@typescript-eslint/parser": "^2.3.3",
"@typescript-eslint/parser": "^2.7.0",
"eslint-config-standard": "^14.1.0"
},
"peerDependencies": {
Expand All @@ -64,14 +64,14 @@
"eslint-plugin-node": ">=9.1.0",
"eslint-plugin-promise": ">=4.2.1",
"eslint-plugin-standard": ">=4.0.0",
"@typescript-eslint/eslint-plugin": ">=2.3.3"
"@typescript-eslint/eslint-plugin": ">=2.7.0"
},
"devDependencies": {
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@commitlint/travis-cli": "^8.2.0",
"@types/node": "^12.12.11",
"@typescript-eslint/eslint-plugin": "^2.3.3",
"@typescript-eslint/eslint-plugin": "^2.7.0",
"ava": "^2.4.0",
"editorconfig-checker": "^3.0.3",
"eslint": "^6.6.0",
Expand Down
2 changes: 2 additions & 0 deletions src/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ test('export', (t): void => {
'no-undef': 'off',
'no-unused-vars': 'off',
'no-use-before-define': 'off',
'no-unused-expressions': 'off',
'no-useless-constructor': 'off',
quotes: 'off',
'@typescript-eslint/adjacent-overload-signatures': 'error',
Expand Down Expand Up @@ -91,6 +92,7 @@ test('export', (t): void => {
'@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 }],
'@typescript-eslint/no-unused-expressions': ['error', { allowShortCircuit: true, allowTaggedTemplates: true, allowTernary: true }],
'@typescript-eslint/no-useless-constructor': 'error',
'@typescript-eslint/no-var-requires': 'error',
'@typescript-eslint/prefer-function-type': 'error',
Expand Down
1 change: 1 addition & 0 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ const equivalents = [
'indent',
'no-array-constructor',
'no-unused-vars',
'no-unused-expressions',
'no-useless-constructor',
'quotes'
] as const
Expand Down

0 comments on commit 6af3971

Please sign in to comment.