зеркало из https://github.com/mozilla/addons-blog.git
Update prettier config (#26)
This commit is contained in:
Родитель
fb2649128e
Коммит
f0ac17ffa7
|
@ -33,8 +33,19 @@ jobs:
|
|||
- run: yarn lint:php
|
||||
- run: test -f wptheme.zip
|
||||
|
||||
tests:
|
||||
docker:
|
||||
- image: circleci/node:12
|
||||
steps:
|
||||
- checkout
|
||||
- *restore_build_cache
|
||||
- *run_yarn_install
|
||||
- *save_build_cache
|
||||
- run: yarn prettier-ci
|
||||
|
||||
workflows:
|
||||
version: 2
|
||||
default-workflow:
|
||||
jobs:
|
||||
- wptheme
|
||||
- tests
|
||||
|
|
|
@ -1,7 +1,5 @@
|
|||
# exclude everything by default
|
||||
*.*
|
||||
# exclude these files
|
||||
Dockerfile
|
||||
# exclude these directories
|
||||
/node_modules/
|
||||
/build/
|
||||
|
@ -13,3 +11,4 @@ cache
|
|||
# Allow files we want to process
|
||||
!*.js
|
||||
!*.scss
|
||||
!*.md
|
||||
|
|
|
@ -2,5 +2,5 @@
|
|||
"arrowParens": "always",
|
||||
"singleQuote": true,
|
||||
"trailingComma": "es5",
|
||||
"proseWrap": "preserve"
|
||||
"proseWrap": "never"
|
||||
}
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
"prettier": "prettier --write '**'",
|
||||
"prettier-ci": "prettier -c '**'",
|
||||
"prettier-dev": "pretty-quick --branch main",
|
||||
"test-ci": "npm run prettier-ci",
|
||||
"clean": "rimraf './build/'",
|
||||
"build": "npm run clean && eleventy --config=./eleventy.config.js && npm run sass:build && npm run script:build",
|
||||
"build:debug": "DEBUG=Eleventy* npm run build:serve",
|
||||
|
|
Загрузка…
Ссылка в новой задаче