mirror of
https://github.com/Sendouc/sendou.ink.git
synced 2026-03-21 18:04:39 -05:00
Add ESLint
This commit is contained in:
parent
3c99572923
commit
cd5d212ec4
6
.eslintrc.js
Normal file
6
.eslintrc.js
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
module.exports = {
|
||||
root: true,
|
||||
parser: "@typescript-eslint/parser",
|
||||
plugins: ["@typescript-eslint"],
|
||||
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
||||
};
|
||||
5
.vscode/settings.json
vendored
Normal file
5
.vscode/settings.json
vendored
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
{
|
||||
"eslint.options": {
|
||||
"ignorePattern": ".eslintrc.js"
|
||||
}
|
||||
}
|
||||
1621
package-lock.json
generated
1621
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
|
@ -15,6 +15,7 @@
|
|||
"migration:apply:prod": "npx prisma migrate deploy",
|
||||
"seed": "node --experimental-specifier-resolution=node --loader ts-node/esm -r tsconfig-paths/register prisma/seed",
|
||||
"seed:reset": "npx prisma migrate reset --force --skip-generate",
|
||||
"lint:ts": "eslint . --ext .ts,.tsx",
|
||||
"lint:styles": "stylelint \"app/styles/**/*.css\"",
|
||||
"prettier:check": "prettier --check .",
|
||||
"typecheck": "tsc --noEmit",
|
||||
|
|
@ -59,8 +60,11 @@
|
|||
"@types/react": "^17.0.38",
|
||||
"@types/react-dom": "^17.0.11",
|
||||
"@types/uuid": "^8.3.3",
|
||||
"@typescript-eslint/eslint-plugin": "^5.9.0",
|
||||
"@typescript-eslint/parser": "^5.9.0",
|
||||
"concurrently": "^6.5.1",
|
||||
"cypress": "^9.2.0",
|
||||
"eslint": "^8.6.0",
|
||||
"prettier": "2.5.1",
|
||||
"prisma": "^3.7.0",
|
||||
"stylelint": "^14.2.0",
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user