mirror of
https://github.com/scottlamb/moonfire-nvr.git
synced 2025-02-20 10:02:32 -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
|
||||
/coverage
|
||||
|
||||
# production, current path
|
||||
/build
|
||||
|
||||
# production, old path
|
||||
# production
|
||||
/dist
|
||||
|
||||
# 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"
|
||||
},
|
||||
"scripts": {
|
||||
"check-format": "prettier --check --ignore-path .gitignore .",
|
||||
"check-format": "prettier --check --ignore-path .prettierignore .",
|
||||
"dev": "vite",
|
||||
"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",
|
||||
"preview": "vite preview",
|
||||
"test": "vitest"
|
||||
|
Loading…
x
Reference in New Issue
Block a user