Skip to content

Commit

Permalink
Simplify prettier config (#2662)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov committed Jun 17, 2020
1 parent df96f2a commit b511dfc
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 2 deletions.
13 changes: 13 additions & 0 deletions .prettierignore
@@ -0,0 +1,13 @@
# Copied from '.gitignore', please keep it in sync.
.eslintcache
node_modules
coverage
npmDist
denoDist
benchmarkDist
integrationTmp
npm
deno

# Don't touch GraphQL files.
*.graphql
4 changes: 2 additions & 2 deletions package.json
Expand Up @@ -38,8 +38,8 @@
"check:cover": "node resources/check-cover.js && nyc report --nycrc-path .nycflowrc.yml",
"testonly": "mocha --full-trace src/**/__tests__/**/*-test.js",
"testonly:cover": "nyc npm run testonly",
"prettier": "prettier --ignore-path .gitignore --write --list-different \"**/*.{js,ts,md,json,yml}\"",
"prettier:check": "prettier --ignore-path .gitignore --check \"**/*.{js,ts,md,json,yml}\"",
"prettier": "prettier --write --list-different .",
"prettier:check": "prettier --check .",
"check:spelling": "cspell \"./{src/**/,resources/**/,integrationTests/**/}*.{js,ts,md,graphql}\"",
"check:integrations": "mocha --full-trace integrationTests/*-test.js",
"build:npm": "node resources/build-npm.js",
Expand Down

0 comments on commit b511dfc

Please sign in to comment.