Skip to content
Permalink
Browse files
chore: update dependencies
closes #311
fixes #408
closes #409
  • Loading branch information
SimenB authored and G-Rath committed Oct 27, 2019
1 parent 7dec202 commit b9213e097ebc5a07cf71150788642199fea2638d
Showing with 675 additions and 488 deletions.
  1. +3 −1 .eslintrc.js
  2. +10 −10 package.json
  3. +1 −0 src/rules/__tests__/consistent-test-it.test.ts
  4. +1 −0 src/rules/__tests__/expect-expect.test.ts
  5. +1 −0 src/rules/__tests__/lowercase-name.test.ts
  6. +1 −0 src/rules/__tests__/no-commented-out-tests.test.ts
  7. +1 −0 src/rules/__tests__/no-disabled-tests.test.ts
  8. +1 −0 src/rules/__tests__/no-duplicate-hooks.test.ts
  9. +1 −0 src/rules/__tests__/no-expect-resolves.test.ts
  10. +1 −0 src/rules/__tests__/no-export.test.ts
  11. +1 −0 src/rules/__tests__/no-hooks.test.ts
  12. +1 −0 src/rules/__tests__/no-identical-title.test.ts
  13. +1 −0 src/rules/__tests__/no-if.test.ts
  14. +1 −0 src/rules/__tests__/no-large-snapshots.test.ts
  15. +1 −0 src/rules/__tests__/no-standalone-expect-test.ts
  16. +1 −0 src/rules/__tests__/no-test-callback.test.ts
  17. +1 −0 src/rules/__tests__/no-test-return-statement.test.ts
  18. +1 −0 src/rules/__tests__/prefer-expect-assertions.test.ts
  19. +1 −0 src/rules/__tests__/prefer-hooks-on-top.test.ts
  20. +1 −0 src/rules/__tests__/prefer-spy-on.test.ts
  21. +1 −0 src/rules/__tests__/prefer-to-have-length.test.ts
  22. +1 −0 src/rules/__tests__/prefer-todo.test.ts
  23. +1 −0 src/rules/__tests__/require-top-level-describe.test.ts
  24. +1 −0 src/rules/__tests__/require-tothrow-message.test.ts
  25. +1 −0 src/rules/__tests__/valid-describe.test.ts
  26. +1 −0 src/rules/__tests__/valid-expect-in-promise.test.ts
  27. +1 −0 src/rules/__tests__/valid-expect.test.ts
  28. +1 −0 src/rules/__tests__/valid-title.test.ts
  29. +636 −477 yarn.lock
@@ -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',
@@ -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',
@@ -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",
@@ -3,6 +3,7 @@ import rule from '../consistent-test-it';
import { TestCaseName } from '../utils';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
@@ -5,6 +5,7 @@ import {
import rule from '../expect-expect';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
@@ -3,6 +3,7 @@ import rule from '../lowercase-name';
import { DescribeAlias, TestCaseName } from '../utils';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
@@ -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',
},
@@ -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',
},
@@ -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,
},
@@ -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,
},
@@ -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',
@@ -3,6 +3,7 @@ import rule from '../no-hooks';
import { HookName } from '../utils';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
@@ -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,
},
@@ -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,
},
@@ -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,
},
@@ -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,
},
@@ -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,
},
@@ -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 },
});

@@ -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,
},
@@ -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,
},
@@ -5,6 +5,7 @@ import {
import rule from '../prefer-spy-on';

const ruleTester = new TSESLint.RuleTester({
parser: 'espree',
parserOptions: {
ecmaVersion: 6,
},
@@ -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,
},
@@ -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 },
});

@@ -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,
},
@@ -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,
},
@@ -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,
},
@@ -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,
},
@@ -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,
},
@@ -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,
},

0 comments on commit b9213e0

Please sign in to comment.