From 8a5831d99b201e519480da1cf52077095d890baf Mon Sep 17 00:00:00 2001 From: JP Dillingham Date: Sun, 22 May 2022 14:54:52 -0500 Subject: add eslint and basic config --- src/web/package.json | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'src/web/package.json') diff --git a/src/web/package.json b/src/web/package.json index 6603a2e5..2049e07a 100644 --- a/src/web/package.json +++ b/src/web/package.json @@ -3,6 +3,16 @@ "version": "0.1.0", "private": true, "homepage": ".", + "scripts": { + "start": "react-scripts start", + "build": "react-scripts build", + "test": "react-scripts test", + "test-unattended": "react-scripts test --watchAll false --passWithNoTests", + "eject": "react-scripts eject", + "postinstall": "semantic-ui-css-patch", + "lint": "eslint .", + "lint:fix": "eslint --fix ." + }, "dependencies": { "@codemirror/highlight": "^0.19.7", "@codemirror/legacy-modes": "^0.19.0", @@ -26,19 +36,9 @@ }, "devDependencies": { "@semantic-ui-react/css-patch": "^1.0.0", + "eslint": "^8.16.0", "react-scripts": "^5.0.0" }, - "scripts": { - "start": "react-scripts start", - "build": "react-scripts build", - "test": "react-scripts test", - "test-unattended": "react-scripts test --watchAll false --passWithNoTests", - "eject": "react-scripts eject", - "postinstall": "semantic-ui-css-patch" - }, - "eslintConfig": { - "extends": "react-app" - }, "browserslist": { "production": [ ">0.3%", -- cgit v1.2.3