diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 0000000..c1e2864 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,13 @@ +src/engine262 +src/tailwind.output.css + +# dependencies +/node_modules +/.pnp +.pnp.js + +# testing +/coverage + +# production +/build diff --git a/.eslintrc.json b/.eslintrc.json new file mode 100644 index 0000000..5e603ec --- /dev/null +++ b/.eslintrc.json @@ -0,0 +1,3 @@ +{ + "extends": "react-app" +} diff --git a/package.json b/package.json index ea18d73..6fb462d 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,8 @@ "start": "react-scripts start", "build": "react-scripts build", "test": "react-scripts test", - "eject": "react-scripts eject" + "eject": "react-scripts eject", + "lint": "eslint --ext js,jsx,ts,tsx src" }, "eslintConfig": { "extends": "react-app" @@ -58,4 +59,4 @@ "last 1 safari version" ] } -} \ No newline at end of file +}