Skip to content

Commit

Permalink
chore: update dependencies
Browse files Browse the repository at this point in the history
closes #311
fixes #408
closes #409
  • Loading branch information
SimenB committed Oct 27, 2019
1 parent 838f0be commit f2d1e34
Show file tree
Hide file tree
Showing 29 changed files with 675 additions and 488 deletions.
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ module.exports = {
es6: true,
},
rules: {
'@typescript-eslint/array-type': ['error', 'array-simple'],
'@typescript-eslint/array-type': ['error', {default: 'array-simple'}],
'@typescript-eslint/no-require-imports': 'error',
'@typescript-eslint/ban-ts-ignore': 'warn',
'@typescript-eslint/ban-types': 'error',
Expand All @@ -41,6 +41,8 @@ module.exports = {
],
'sort-imports': ['error', { ignoreDeclarationSort: true }],
'prettier/prettier': 'error',
// TS covers this
'node/no-missing-import': 'off',
'node/no-unsupported-features/es-syntax': 'off',
'node/no-unsupported-features/es-builtins': 'error',
'import/no-commonjs': 'error',
Expand Down
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,32 +37,32 @@
"typecheck": "tsc -p ."
},
"dependencies": {
"@typescript-eslint/experimental-utils": "^1.13.0"
"@typescript-eslint/experimental-utils": "^2.5.0"
},
"devDependencies": {
"@babel/cli": "^7.4.4",
"@babel/core": "^7.4.4",
"@babel/preset-env": "^7.4.4",
"@babel/preset-typescript": "^7.3.3",
"@commitlint/cli": "^6.0.0",
"@commitlint/config-conventional": "^6.0.0",
"@types/eslint": "^4.16.6",
"@commitlint/cli": "^8.2.0",
"@commitlint/config-conventional": "^8.2.0",
"@types/eslint": "^6.1.3",
"@types/jest": "^24.0.15",
"@types/node": "^12.6.6",
"@typescript-eslint/eslint-plugin": "^1.13.0",
"@typescript-eslint/parser": "^1.13.0",
"@typescript-eslint/eslint-plugin": "^2.5.0",
"@typescript-eslint/parser": "^2.5.0",
"babel-jest": "^24.9.0",
"babel-plugin-replace-ts-export-assignment": "^0.0.2",
"eslint": "^5.1.0",
"eslint-config-prettier": "^5.1.0",
"eslint-config-prettier": "^6.5.0",
"eslint-plugin-eslint-plugin": "^2.0.0",
"eslint-plugin-import": "^2.18.0",
"eslint-plugin-node": "^8.0.0",
"eslint-plugin-node": "^10.0.0",
"eslint-plugin-prettier": "^3.0.0",
"husky": "^1.0.1",
"husky": "^3.0.9",
"jest": "^24.9.0",
"jest-runner-eslint": "^0.7.1",
"lint-staged": "^8.0.4",
"lint-staged": "^9.4.2",
"prettier": "^1.10.2",
"prettylint": "^1.0.0",
"rimraf": "^3.0.0",
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/consistent-test-it.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import rule from '../consistent-test-it';
import { TestCaseName } from '../utils';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/expect-expect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
import rule from '../expect-expect';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/lowercase-name.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import rule from '../lowercase-name';
import { DescribeAlias, TestCaseName } from '../utils';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-commented-out-tests.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../no-commented-out-tests';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
sourceType: 'module',
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-disabled-tests.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../no-disabled-tests';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
sourceType: 'module',
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-duplicate-hooks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../no-duplicate-hooks';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-expect-resolves.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../no-expect-resolves';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 2017,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-export.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../no-export';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 2015,
sourceType: 'module',
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-hooks.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import rule from '../no-hooks';
import { HookName } from '../utils';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-identical-title.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../no-identical-title';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-if.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../no-if';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-large-snapshots.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import rule from '../no-large-snapshots';
const noLargeSnapshots = rule.create.bind(rule);

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 2015,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-standalone-expect-test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../no-standalone-expect';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 2015,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-test-callback.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../no-test-callback';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 8,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/no-test-return-statement.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../no-test-return-statement';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: { ecmaVersion: 2015 },
});

Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/prefer-expect-assertions.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../prefer-expect-assertions';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/prefer-hooks-on-top.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../prefer-hooks-on-top';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/prefer-spy-on.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ import {
import rule from '../prefer-spy-on';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/prefer-to-have-length.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../prefer-to-have-length';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 2015,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/prefer-todo.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../prefer-todo';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: { ecmaVersion: 2015 },
});

Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/require-top-level-describe.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../require-top-level-describe';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 2015,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/require-tothrow-message.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../require-tothrow-message';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 8,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/valid-describe.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../valid-describe';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 8,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/valid-expect-in-promise.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../valid-expect-in-promise';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 8,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/valid-expect.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../valid-expect';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 8,
},
Expand Down
1 change: 1 addition & 0 deletions src/rules/__tests__/valid-title.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import { TSESLint } from '@typescript-eslint/experimental-utils';
import rule from '../valid-title';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 8,
},
Expand Down
Loading

0 comments on commit f2d1e34

Please sign in to comment.