Run prettier on full repo with ignored extensions (#23538)
This commit is contained in:
parent
c38bd17657
commit
b4df632ca1
|
@ -51,15 +51,8 @@
|
||||||
*~
|
*~
|
||||||
*.swp
|
*.swp
|
||||||
|
|
||||||
# Ignore npm debug log
|
# Ignore log files
|
||||||
npm-debug.log
|
*.log
|
||||||
|
|
||||||
# Ignore yarn log files
|
|
||||||
yarn-error.log
|
|
||||||
yarn-debug.log
|
|
||||||
|
|
||||||
# Ignore vagrant log files
|
|
||||||
*-cloudimg-console.log
|
|
||||||
|
|
||||||
# Ignore Docker option files
|
# Ignore Docker option files
|
||||||
docker-compose.override.yml
|
docker-compose.override.yml
|
||||||
|
@ -73,3 +66,12 @@ docker-compose.override.yml
|
||||||
|
|
||||||
# Ignore vendored CSS reset
|
# Ignore vendored CSS reset
|
||||||
app/javascript/styles/mastodon/reset.scss
|
app/javascript/styles/mastodon/reset.scss
|
||||||
|
|
||||||
|
# Ignore Javascript pending https://github.com/mastodon/mastodon/pull/23631
|
||||||
|
*.js
|
||||||
|
|
||||||
|
# Ignore Markdownlint pending https://github.com/mastodon/mastodon/pull/21972
|
||||||
|
*.md
|
||||||
|
|
||||||
|
# Ignore HTML till cleaned and included in CI
|
||||||
|
*.html
|
||||||
|
|
|
@ -15,8 +15,8 @@
|
||||||
"test:lint:js": "eslint --ext=js . --cache --report-unused-disable-directives",
|
"test:lint:js": "eslint --ext=js . --cache --report-unused-disable-directives",
|
||||||
"test:lint:sass": "stylelint \"**/*.{css,scss}\" && prettier --check \"**/*.{css,scss}\"",
|
"test:lint:sass": "stylelint \"**/*.{css,scss}\" && prettier --check \"**/*.{css,scss}\"",
|
||||||
"test:jest": "cross-env NODE_ENV=test jest",
|
"test:jest": "cross-env NODE_ENV=test jest",
|
||||||
"format": "prettier --write \"**/*.{json,yml}\"",
|
"format": "prettier --write .",
|
||||||
"format-check": "prettier --check \"**/*.{json,yml}\""
|
"format-check": "prettier --check ."
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
|
|
Reference in New Issue