mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-02-22 02:52:30 -05:00
make prettier ignore pnpm lockfile
This commit is contained in:
parent
c75292e43b
commit
7f7b95c56c
5
ui/.gitignore
vendored
5
ui/.gitignore
vendored
@ -9,10 +9,7 @@
|
|||||||
# testing
|
# testing
|
||||||
/coverage
|
/coverage
|
||||||
|
|
||||||
# production, current path
|
# production
|
||||||
/build
|
|
||||||
|
|
||||||
# production, old path
|
|
||||||
/dist
|
/dist
|
||||||
|
|
||||||
# misc
|
# misc
|
||||||
|
34
ui/.prettierignore
Normal file
34
ui/.prettierignore
Normal file
@ -0,0 +1,34 @@
|
|||||||
|
|
||||||
|
#-------------------------------------------------------------------------------------------------------------------
|
||||||
|
# Keep this section in sync with .gitignore
|
||||||
|
#-------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
# dependencies
|
||||||
|
/node_modules
|
||||||
|
/.pnp
|
||||||
|
.pnp.js
|
||||||
|
/.idea
|
||||||
|
|
||||||
|
# testing
|
||||||
|
/coverage
|
||||||
|
|
||||||
|
# production
|
||||||
|
/dist
|
||||||
|
|
||||||
|
# misc
|
||||||
|
.DS_Store
|
||||||
|
.env.local
|
||||||
|
.env.development.local
|
||||||
|
.env.test.local
|
||||||
|
.env.production.local
|
||||||
|
.eslintcache
|
||||||
|
|
||||||
|
npm-debug.log*
|
||||||
|
yarn-debug.log*
|
||||||
|
yarn-error.log*
|
||||||
|
|
||||||
|
#-------------------------------------------------------------------------------------------------------------------
|
||||||
|
# Prettier-specific overrides
|
||||||
|
#-------------------------------------------------------------------------------------------------------------------
|
||||||
|
|
||||||
|
pnpm-lock.yaml
|
@ -21,10 +21,10 @@
|
|||||||
"react-router-dom": "^6.22.3"
|
"react-router-dom": "^6.22.3"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"check-format": "prettier --check --ignore-path .gitignore .",
|
"check-format": "prettier --check --ignore-path .prettierignore .",
|
||||||
"dev": "vite",
|
"dev": "vite",
|
||||||
"build": "tsc && vite build",
|
"build": "tsc && vite build",
|
||||||
"format": "prettier --write --ignore-path .gitignore .",
|
"format": "prettier --write --ignore-path .prettierignore .",
|
||||||
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
||||||
"preview": "vite preview",
|
"preview": "vite preview",
|
||||||
"test": "vitest"
|
"test": "vitest"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user