From 1c0b94ef6e35e629312e0d2b1d539fb467cf4c3c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Poduszl=C3=B3?= Date: Sun, 20 Jan 2019 12:05:10 +0100 Subject: [PATCH] docs(plugin-typescript): fix readme instructions Change old plugin references to their new counterparts. --- packages/eslint-plugin/README.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packages/eslint-plugin/README.md b/packages/eslint-plugin/README.md index 82e116951b03..31499af8fbf6 100644 --- a/packages/eslint-plugin/README.md +++ b/packages/eslint-plugin/README.md @@ -33,7 +33,7 @@ Add `@typescript-eslint/eslint-plugin/parser` to the `parser` field and `typescr ```json { "parser": "@typescript-eslint/eslint-plugin/parser", - "plugins": ["typescript"] + "plugins": ["@typescript-eslint"] } ``` @@ -45,9 +45,9 @@ Then configure the rules you want to use under the rules section. ```json { "parser": "@typescript-eslint/eslint-plugin/parser", - "plugins": ["typescript"], + "plugins": ["@typescript-eslint"], "rules": { - "typescript/rule-name": "error" + "@typescript-eslint/rule-name": "error" } } ``` @@ -56,7 +56,7 @@ You can also enable all the recommended rules at once. Add `plugin:typescript/re ```json { - "extends": ["plugin:typescript/recommended"] + "extends": ["plugin:@typescript-eslint/recommended"] } ```