diff options
author | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-10-25 21:23:16 +0000 |
---|---|---|
committer | innovaker <66737976+innovaker@users.noreply.github.com> | 2020-10-25 21:23:16 +0000 |
commit | ab65bf49db46291dfc429cda4737e894d1897e6f (patch) | |
tree | 2703ddb882757762f5ce4e677620a952f6db5d8d /docs/package.json | |
parent | b1bfff5b5a26ad089c01e844958f4edf1732abab (diff) |
docs: Add eslint support
Official guidelines:
https://eslint.org/docs/user-guide/getting-started
Steps taken:
npm install eslint --save-dev
npx eslint --init
Create .eslintignore
Edit .eslintrc.js (tweaks)
Diffstat (limited to 'docs/package.json')
-rw-r--r-- | docs/package.json | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/package.json b/docs/package.json index a21adae..c97ebef 100644 --- a/docs/package.json +++ b/docs/package.json @@ -26,5 +26,9 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "devDependencies": { + "eslint": "^7.12.0", + "eslint-plugin-react": "^7.21.5" } } |