Moves prettier and lint to root of the project

This commit is contained in:
Michael Novotny
2023-09-05 21:38:28 -05:00
parent b85b3e217b
commit cb58dfbe30
18 changed files with 4730 additions and 43 deletions

22
package.json Normal file
View File

@@ -0,0 +1,22 @@
{
"name": "15-final",
"version": "0.1.0",
"private": true,
"engines": {
"node": ">=18"
},
"scripts": {
"lint": "eslint . --ext .cjs,.js,.jsx,.mjs,.ts,.tsx",
"prettier": "prettier --write --ignore-unknown .",
"prettier:check": "prettier --check --ignore-unknown .",
"start": "next start",
"test": "npm run lint && npm run prettier:check"
},
"devDependencies": {
"eslint": "8.48.0",
"eslint-config-next": "13.4.19",
"eslint-config-prettier": "9.0.0",
"prettier": "3.0.3",
"prettier-plugin-tailwindcss": "0.5.4"
}
}