mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 15:27:17 +00:00
Running make lint
will now fix the typescript files
Change-type: patch
This commit is contained in:
parent
80e0231727
commit
ed90f21188
4
Makefile
4
Makefile
@ -124,7 +124,7 @@ TARGETS = \
|
||||
help \
|
||||
info \
|
||||
lint \
|
||||
lint-js \
|
||||
lint-ts \
|
||||
lint-sass \
|
||||
lint-cpp \
|
||||
lint-spell \
|
||||
@ -149,7 +149,7 @@ sass:
|
||||
node-sass lib/gui/app/scss/main.scss > lib/gui/css/main.css
|
||||
|
||||
lint-ts:
|
||||
resin-lint --typescript typings lib tests scripts/clean-shrinkwrap.ts webpack.config.ts
|
||||
resin-lint --fix --typescript typings lib tests scripts/clean-shrinkwrap.ts webpack.config.ts
|
||||
|
||||
lint-sass:
|
||||
sass-lint lib/gui/scss
|
||||
|
@ -20,7 +20,6 @@
|
||||
},
|
||||
"scripts": {
|
||||
"test": "make lint test sanity-checks",
|
||||
"prettier": "prettier --config ./node_modules/resin-lint/config/.prettierrc --write \"lib/**/*.ts\" \"lib/**/*.tsx\" \"tests/**/*.ts\" \"webpack.config.ts\" \"scripts/clean-shrinkwrap.ts\"",
|
||||
"start": "./node_modules/.bin/electron .",
|
||||
"postshrinkwrap": "ts-node ./scripts/clean-shrinkwrap.ts",
|
||||
"configure": "node-gyp configure",
|
||||
@ -39,7 +38,6 @@
|
||||
},
|
||||
"lint-staged": {
|
||||
"./**/*.{ts,tsx}": [
|
||||
"npm run prettier",
|
||||
"make lint-ts",
|
||||
"git add"
|
||||
]
|
||||
|
Loading…
x
Reference in New Issue
Block a user