diff --git a/package-lock.json b/package-lock.json index db74fd9..71558e5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -16,6 +16,9 @@ "react-dom": "^18.2.0", "react-scripts": "5.0.1", "web-vitals": "^2.1.4" + }, + "devDependencies": { + "eslint": "^8.54.0" } }, "node_modules/@aashutoshrathi/word-wrap": { diff --git a/package.json b/package.json index eb9ce4c..cb576cc 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,8 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "lint": "eslint ." }, "eslintConfig": { "extends": [ @@ -35,5 +36,8 @@ "last 1 firefox version", "last 1 safari version" ] + }, + "devDependencies": { + "eslint": "^8.54.0" } }