|
38 | 38 | "test": "yarn jest", |
39 | 39 | "build": "webpack && node ./.scripts/set-executable.js ./dist/server.js", |
40 | 40 | "package": "npx vsce package --no-yarn --readme-path editors/code/README.md", |
41 | | - "lint": "eslint --cache .", |
42 | | - "lint:css": "npx stylelint \"editors/**/*.css\"", |
| 41 | + "lint": "yarn run lint:ts && yarn run lint:css", |
| 42 | + "lint:ts": "eslint --cache .", |
| 43 | + "lint:css": "stylelint 'editors/**/*.css' --cache", |
43 | 44 | "fmt": "prettier --write -l --cache .", |
44 | 45 | "fmt:check": "prettier --check --cache .", |
45 | 46 | "grammar:wasm": "yarn grammar:tolk:wasm && yarn grammar:func:wasm && yarn grammar:fift:wasm && yarn grammar:tlb:wasm", |
|
48 | 49 | "grammar:fift:wasm": "cd server/src/languages/fift/tree-sitter-fift && tree-sitter generate && tree-sitter build --wasm", |
49 | 50 | "grammar:tlb:wasm": "cd server/src/languages/tlb/tree-sitter-tlb && tree-sitter generate && tree-sitter build --wasm", |
50 | 51 | "watch": "webpack --watch", |
51 | | - "precommit": "yarn build && yarn fmt && yarn lint --fix && yarn run lint:css --fix", |
| 52 | + "precommit": "yarn build && yarn fmt && yarn lint:ts --fix && yarn run lint:css --fix", |
52 | 53 | "test:grammars": "yarn test:grammars:tolk && yarn test:grammars:func && yarn test:grammars:fift && yarn test:grammars:tlb", |
53 | 54 | "test:grammars:tolk": "cd ./server/src/languages/tolk/tree-sitter-tolk/ && tree-sitter test", |
54 | 55 | "test:grammars:func": "cd ./server/src/languages/func/tree-sitter-func/ && tree-sitter test", |
|
0 commit comments