Skip to content

Commit f06a5d8

Browse files
authored
Merge pull request #443 from CedricProfessionnel/prettierIgnore
Add .prettierignore. Prettier work in cypress and other files
2 parents b753e88 + 1f49e2e commit f06a5d8

File tree

2 files changed

+11
-1
lines changed

2 files changed

+11
-1
lines changed

.prettierignore

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
build/*
2+
dist/*
3+
lib/*
4+
node_modules/*
5+
.env
6+
yarn-error.log
7+
cypress/snapshots/*
8+
cypress/videos/*
9+
cypress/screenshots/*
10+
yarn.lock

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"storybook": "start-storybook -p 6002 -s public",
2727
"build-storybook": "build-storybook -s public",
2828
"gh-pages": "npm run build:web && npm run build:vanilla && cp lib/vanilla.js build/vanilla.js && cp ./CNAME ./build/CNAME && gh-pages -d build",
29-
"prettier": "prettier --write \"src/**/*.js\"",
29+
"prettier": "prettier --write .",
3030
"test:prettier": "prettier --check \"src/**/*.js\"",
3131
"test:lint": "eslint src --max-warnings=0",
3232
"test:integration:dev": "./node_modules/cypress/bin/cypress open",

0 commit comments

Comments
 (0)