From 9d4c263cc8a41d25157fb92565e3026a21945823 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Krist=C3=B3f=20Poduszl=C3=B3?= Date: Sun, 20 Jan 2019 11:46:48 +0100 Subject: [PATCH] Fix instructions in the ESLint plugin's readme --- 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"] } ```