From 07c4dcb976b79fb843f13cd67fe8ac2820ad68c9 Mon Sep 17 00:00:00 2001 From: Renard Date: Mon, 16 Sep 2019 01:53:22 -0300 Subject: ESLint Setup --- package.json | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) (limited to 'package.json') diff --git a/package.json b/package.json index a652b65..e12cbb2 100644 --- a/package.json +++ b/package.json @@ -21,7 +21,8 @@ "scripts": { "dev": "parcel src/index.html", "build": "parcel build src/index.html", - "format": "prettier \"src/**/*.{js,css,html}\" --write" + "format": "prettier \"src/**/*.{js,css,html}\" --write", + "lint": "eslint \"src/**/*.{js,jsx} --quiet" }, "eslintConfig": { "extends": "react-app" @@ -39,7 +40,13 @@ ] }, "devDependencies": { + "babel-eslint": "^10.0.3", + "eslint": "^6.4.0", + "eslint-config-prettier": "^6.3.0", + "eslint-plugin-import": "^2.18.2", + "eslint-plugin-jsx-a11y": "^6.2.3", + "eslint-plugin-react": "^7.14.3", "parcel-bundler": "^1.12.3", "prettier": "^1.18.2" } -} \ No newline at end of file +} -- cgit v1.2.1-18-gbd029