1
0
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:
Romein van Buren 2024-08-09 15:19:48 +02:00
parent 267d9aacd7
commit 043259560e
No known key found for this signature in database
2 changed files with 4 additions and 2 deletions

View File

@ -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

View File

@ -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",