diff --git a/README.md b/README.md index c0a3b44..119f664 100644 --- a/README.md +++ b/README.md @@ -86,6 +86,7 @@ echo "{}" > .prettierrc.json { "extends": ["conventions", "prettier"], "plugins": ["prettier"], + "parser": "@typescript-eslint/parser", "parserOptions": { "project": "./tsconfig.json" }, @@ -104,7 +105,7 @@ echo "{}" > .prettierrc.json ```jsonc { "scripts": { - "lint:eslint": "eslint . --ignore-path .gitignore", + "lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --ignore-path .gitignore", "lint:prettier": "prettier . --check" } } diff --git a/package.json b/package.json index f139853..d9d371a 100644 --- a/package.json +++ b/package.json @@ -39,7 +39,7 @@ "lint:commit": "commitlint", "lint:editorconfig": "editorconfig-checker", "lint:markdown": "markdownlint-cli2", - "lint:eslint": "eslint . -c eslintrc.json", + "lint:eslint": "eslint . --max-warnings 0 --report-unused-disable-directives --config eslintrc.json", "lint:prettier": "prettier . --check", "lint:staged": "lint-staged", "test": "node --test test/",