diff --git a/README.md b/README.md index 1a92f0d..39a5cd9 100644 --- a/README.md +++ b/README.md @@ -21,13 +21,15 @@ Add the following to your `.eslintrc` config: ```CJSON { - "parser": "typescript-eslint-parser", "plugins": ["import"], "rules": { // turn on errors for missing imports "import/no-unresolved": "error" }, "settings": { + "import/parsers": { + "typescript-eslint-parser": [".ts", ".tsx"] + }, "import/resolver": { // use /tsconfig.json "typescript": {}, @@ -41,6 +43,7 @@ Add the following to your `.eslintrc` config: } ``` + ## Contributing - Make sure your change is covered by a test import.