Skip to content

Commit

Permalink
Split format from lint
Browse files Browse the repository at this point in the history
  • Loading branch information
giuscris committed Nov 5, 2024
1 parent 5338b84 commit 4505a24
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions panel/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,12 @@
"build:js": "tsc && esbuild ./src/ts/app.ts --outfile=./assets/js/app.min.js --bundle --format=iife --global-name=Formwork --target=es6 --minify",
"watch:css": "yarn build:css --watch",
"watch:js": "yarn build:js --watch",
"format": "yarn format:css && yarn format:ts",
"format:css": "prettier './src/scss/**/*.scss' --write",
"format:ts": "prettier './src/ts/**/*.ts' --write",
"lint": "yarn lint:css && yarn lint:ts",
"lint:css": "prettier './src/scss/**/*.scss' --write && stylelint './src/scss/**/*.scss' --fix",
"lint:ts": "prettier './src/ts/**/*.ts' --write && eslint './src/ts/**/*.ts' --fix"
"lint:css": "stylelint './src/scss/**/*.scss' --fix",
"lint:ts": "eslint './src/ts/**/*.ts' --fix"
},
"dependencies": {
"@codemirror/commands": "^6.7.0",
Expand Down

0 comments on commit 4505a24

Please sign in to comment.