mirror of
https://github.com/foliojs/pdfkit.git
synced 2025-12-08 20:15:54 +00:00
Improve prettier configuration
This commit is contained in:
parent
15087ea8c3
commit
8b087cee41
2
.github/workflows/lint-test.yml
vendored
2
.github/workflows/lint-test.yml
vendored
@ -22,6 +22,8 @@ jobs:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
- name: Install dependencies
|
||||
run: yarn --frozen-lockfile
|
||||
- name: Run Prettier check
|
||||
run: npm run prettier -- --check
|
||||
- name: Run ESLint
|
||||
run: npm run lint
|
||||
- name: Run tests
|
||||
|
||||
@ -1 +1,5 @@
|
||||
demo/bundle.js
|
||||
**.html
|
||||
**.md
|
||||
demo/bundle.js
|
||||
tests/images/bee.js
|
||||
tests/visual/pdfmake/*.js
|
||||
@ -65,7 +65,7 @@
|
||||
"publish-website": "node docs/publish_website.js",
|
||||
"docs": "npm run pdf-guide && npm run website && npm run browserify-example",
|
||||
"lint": "eslint {lib,tests}/**/*.js",
|
||||
"prettier": "prettier {lib,tests,examples,docs}/**/*.js",
|
||||
"prettier": "prettier lib tests docs",
|
||||
"test": "jest -i --env=node",
|
||||
"test:visual": "jest visual/ -i --env=node",
|
||||
"test:unit": "jest unit/ --env=node"
|
||||
@ -90,4 +90,4 @@
|
||||
"<rootDir>/tests/unit/setupTests.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user