mirror of
https://github.com/galaxyproject/galaxy.git
synced 2026-09-24 16:30:27 +08:00
Add .prettierignore and swap to excludes instead of includes mechanism
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Standard ignores
|
||||
**/.git
|
||||
**/.svn
|
||||
**/.hg
|
||||
**/node_modules
|
||||
# Ignore the dist folder
|
||||
**/dist
|
||||
# We will always defer to package manager for formatting of package.json files.
|
||||
**/package.json
|
||||
# Skip formatting of explicitly included libs (to stay in sync with upstream, and they should go away eventually)
|
||||
src/libs
|
||||
# Don't reformat .json or .yml files included in the project
|
||||
*.json
|
||||
*.yml
|
||||
# Might be nice to add markdown formatting eventually?
|
||||
*.md
|
||||
+2
-2
@@ -123,8 +123,8 @@
|
||||
"webpack-production-maps": "GXY_BUILD_SOURCEMAPS=1 NODE_ENV=production webpack",
|
||||
"gulp": "gulp",
|
||||
"stage-build": "cpy 'dist/*' '../static/dist' && (git rev-parse HEAD 2>/dev/null || echo '') >../static/client_build_hash.txt",
|
||||
"format": "prettier --write 'src/style/scss/**/*.scss' 'src/**/{*.ts,*.js,*.vue}' 'tests/jest/standalone/{*.ts,*.js}' '!src/libs/**'",
|
||||
"format-check": "prettier --check 'src/style/scss/**/*.scss' 'src/**/{*.js,*.vue}' 'tests/jest/standalone/{*.ts,*.js}' '!src/libs/**'",
|
||||
"format": "prettier --write .",
|
||||
"format-check": "prettier --check .",
|
||||
"prettier": "yarn run format",
|
||||
"test": "yarn run qunit && yarn run jest",
|
||||
"jest": "jest --config tests/jest/jest.config.js",
|
||||
|
||||
Reference in New Issue
Block a user