mirror of
https://github.com/garraflavatra/trmclr.git
synced 2025-02-21 08:19:26 +00:00
Update lint script and action
This commit is contained in:
parent
267d9aacd7
commit
043259560e
4
.github/workflows/ci.yml
vendored
4
.github/workflows/ci.yml
vendored
@ -22,5 +22,7 @@ jobs:
|
||||
with:
|
||||
node-version: ${{ matrix.node-version }}
|
||||
cache: 'npm'
|
||||
|
||||
- run: npm ci
|
||||
- run: npx eslint .
|
||||
- run: npm run lint
|
||||
- run: npm run build
|
||||
|
@ -28,7 +28,7 @@
|
||||
"homepage": "https://github.com/garraflavatra/trmclr#readme",
|
||||
"scripts": {
|
||||
"build": "rm -rf dist && tsc && rollup index.mjs -f umd -n trmclr -o dist/index.cjs",
|
||||
"lint": "eslint index.js"
|
||||
"lint": "eslint index.mjs"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@garraflavatra/yeslint": "^1.2.0",
|
||||
|
Loading…
x
Reference in New Issue
Block a user