diff --git a/package.json b/package.json index b3f02938e..2a169b203 100644 --- a/package.json +++ b/package.json @@ -37,7 +37,7 @@ "typecheck": "tsc -p ." }, "dependencies": { - "@typescript-eslint/experimental-utils": "^1.12.0" + "@typescript-eslint/experimental-utils": "^1.12.1-alpha.7" }, "devDependencies": { "@babel/cli": "^7.4.4", @@ -49,8 +49,8 @@ "@types/eslint": "^4.16.6", "@types/jest": "^24.0.15", "@types/node": "^12.6.6", - "@typescript-eslint/eslint-plugin": "^1.12.0", - "@typescript-eslint/parser": "^1.12.0", + "@typescript-eslint/eslint-plugin": "^1.12.1-alpha.7", + "@typescript-eslint/parser": "^1.12.1-alpha.7", "babel-eslint": "^10.0.2", "babel-jest": "^24.8.0", "eslint": "^5.1.0", diff --git a/src/rules/__tests__/lowercase-name.test.ts b/src/rules/__tests__/lowercase-name.test.ts index 092fa039e..4864c3818 100644 --- a/src/rules/__tests__/lowercase-name.test.ts +++ b/src/rules/__tests__/lowercase-name.test.ts @@ -2,7 +2,6 @@ import { TSESLint } from '@typescript-eslint/experimental-utils'; import rule from '../lowercase-name'; const ruleTester = new TSESLint.RuleTester({ - parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: 6, }, diff --git a/src/rules/__tests__/no-commented-out-tests.test.ts b/src/rules/__tests__/no-commented-out-tests.test.ts index 7aa8109cb..7cd1850b1 100644 --- a/src/rules/__tests__/no-commented-out-tests.test.ts +++ b/src/rules/__tests__/no-commented-out-tests.test.ts @@ -2,7 +2,6 @@ import { TSESLint } from '@typescript-eslint/experimental-utils'; import rule from '../no-commented-out-tests'; const ruleTester = new TSESLint.RuleTester({ - parser: '@typescript-eslint/parser', parserOptions: { sourceType: 'module', }, diff --git a/yarn.lock b/yarn.lock index 841ba5625..4cde027d8 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1088,7 +1088,7 @@ dependencies: "@types/jest-diff" "*" -"@types/json-schema@*": +"@types/json-schema@*", "@types/json-schema@^7.0.3": version "7.0.3" resolved "https://registry.yarnpkg.com/@types/json-schema/-/json-schema-7.0.3.tgz#bdfd69d61e464dcc81b25159c270d75a73c1a636" integrity sha512-Il2DtDVRGDcqjDtE+rF8iqg1CArehSK84HZJCT7AMITlyXRBpuPhqGLDQMowraqqu1coEaimg4ZOqggt6L6L+A== @@ -1108,39 +1108,40 @@ resolved "https://registry.yarnpkg.com/@types/yargs/-/yargs-12.0.12.tgz#45dd1d0638e8c8f153e87d296907659296873916" integrity sha512-SOhuU4wNBxhhTHxYaiG5NY4HBhDIDnJF60GU+2LqHAdKKer86//e4yg69aENCtQ04n0ovz+tq2YPME5t5yp4pw== -"@typescript-eslint/eslint-plugin@^1.12.0": - version "1.12.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.12.0.tgz#96b4e08b5f998a198b8414508b1a289f9e8c549a" - integrity sha512-J/ZTZF+pLNqjXBGNfq5fahsoJ4vJOkYbitWPavA05IrZ7BXUaf4XWlhUB/ic1lpOGTRpLWF+PLAePjiHp6dz8g== +"@typescript-eslint/eslint-plugin@^1.12.1-alpha.7": + version "1.12.1-alpha.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/eslint-plugin/-/eslint-plugin-1.12.1-alpha.7.tgz#42908b79beb4f798caeb0eebcbae3c9d66d08562" + integrity sha512-AmhUymB3qs2Q9RNLpUnrEYlP3HPUkwfVaN1vTYgH23PSKU0IcsmXXnI8B0lhD7SuVvGOThwH95FekZni2mkCEg== dependencies: - "@typescript-eslint/experimental-utils" "1.12.0" + "@typescript-eslint/experimental-utils" "1.12.1-alpha.7+6be0d81" eslint-utils "^1.3.1" functional-red-black-tree "^1.0.1" regexpp "^2.0.1" tsutils "^3.7.0" -"@typescript-eslint/experimental-utils@1.12.0", "@typescript-eslint/experimental-utils@^1.12.0": - version "1.12.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-1.12.0.tgz#98417ee2e0c6fe8d1e50d934a6535d9c0f4277b6" - integrity sha512-s0soOTMJloytr9GbPteMLNiO2HvJ+qgQkRNplABXiVw6vq7uQRvidkby64Gqt/nA7pys74HksHwRULaB/QRVyw== +"@typescript-eslint/experimental-utils@1.12.1-alpha.7+6be0d81", "@typescript-eslint/experimental-utils@^1.12.1-alpha.7": + version "1.12.1-alpha.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/experimental-utils/-/experimental-utils-1.12.1-alpha.7.tgz#70d133d55fc2aa766c5cad066e188f30f16612a4" + integrity sha512-Gw4Ocwhw34URF7prUyjntO+X+a9+WFxdk/0NAwRDR7i81SDGqUW9KAKJXnCVH2kKGccLk7f2dzkPnQQhnCZgvw== dependencies: - "@typescript-eslint/typescript-estree" "1.12.0" + "@types/json-schema" "^7.0.3" + "@typescript-eslint/typescript-estree" "1.12.1-alpha.7+6be0d81" eslint-scope "^4.0.0" -"@typescript-eslint/parser@^1.12.0": - version "1.12.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-1.12.0.tgz#9965895ec4745578185965d63f21510f93a3f35a" - integrity sha512-0uzbaa9ZLCA5yMWJywnJJ7YVENKGWVUhJDV5UrMoldC5HoI54W5kkdPhTfmtFKpPFp93MIwmJj0/61ztvmz5Dw== +"@typescript-eslint/parser@^1.12.1-alpha.7": + version "1.12.1-alpha.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/parser/-/parser-1.12.1-alpha.7.tgz#32916b5af88ebb1aa2969862419641f2a593bb27" + integrity sha512-WJL96k4YUySt9LVjK9WJwi6aaQN8UUandFlOLGmxlSEEusvqU5aSKALCVa/97VIyHpVTbwKVzFOe4kgiykGP7g== dependencies: "@types/eslint-visitor-keys" "^1.0.0" - "@typescript-eslint/experimental-utils" "1.12.0" - "@typescript-eslint/typescript-estree" "1.12.0" + "@typescript-eslint/experimental-utils" "1.12.1-alpha.7+6be0d81" + "@typescript-eslint/typescript-estree" "1.12.1-alpha.7+6be0d81" eslint-visitor-keys "^1.0.0" -"@typescript-eslint/typescript-estree@1.12.0": - version "1.12.0" - resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-1.12.0.tgz#d8dd0a7cffb5e3c0c3e98714042d83e316dfc9a9" - integrity sha512-nwN6yy//XcVhFs0ZyU+teJHB8tbCm7AIA8mu6E2r5hu6MajwYBY3Uwop7+rPZWUN/IUOHpL8C+iUPMDVYUU3og== +"@typescript-eslint/typescript-estree@1.12.1-alpha.7+6be0d81": + version "1.12.1-alpha.7" + resolved "https://registry.yarnpkg.com/@typescript-eslint/typescript-estree/-/typescript-estree-1.12.1-alpha.7.tgz#0f40dd2aa7de0d6901d4ee6442de64d64b40b04d" + integrity sha512-1fQJo13bARwxjZCwjro59LJABIdN23naKvo1//M4fJBEQQmYNoZ/XjtVVdVK0oYjmVMWATTqYzyRMBicOCtSxg== dependencies: lodash.unescape "4.0.1" semver "5.5.0"