Skip to content

Commit 554fb89

Browse files
committed
added .prettierignore
1 parent 972e8d3 commit 554fb89

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules
2+
dist
3+
.npmignore
4+
package-lock.json
5+
.DS_Store
6+
tsconfig.tsbuildinfo
7+
example

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
"build:module": "tsc -p tsconfig.module.json",
2626
"lint": "eslint --ext .ts .",
2727
"lint-fix": "eslint --fix --ext .ts .",
28-
"prettier": "prettier --ignore-path .gitignore --write --list-different \"**/*.{ts,graphql,yml}\"",
29-
"prettier:check": "prettier --ignore-path .gitignore --check \"**/*.{ts,graphql,yml}\"",
28+
"prettier": "prettier --write --list-different \"**/*.{ts,graphql,yml}\"",
29+
"prettier:check": "prettier --check \"**/*.{ts,graphql,yml}\"",
3030
"generate": "run-p build:* && graphql-codegen",
3131
"prepublish": "run-p build:*"
3232
},

0 commit comments

Comments
 (0)