From 3342e9f4da837a904f4ccb5963e6f8575f288ca3 Mon Sep 17 00:00:00 2001 From: Brahim Hadriche Date: Tue, 4 Jul 2023 22:51:10 -0400 Subject: [PATCH] Fix lint call --- package.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index b4fdc578..d77651ca 100644 --- a/package.json +++ b/package.json @@ -44,8 +44,10 @@ "build:lib:dev": "npm run build:lib -- --debug=true", "build:lib:prod": "npm run build:lib -- --debug=false --sourceMap=false", "build:web": "cd playlet-web && npm run build", - "lint": "bslint --project playlet-lib/bsconfig.lint.json --lintConfig config/bslint.jsonc && bslint --project playlet/bsconfig.lint.json --lintConfig config/bslint.jsonc", - "lint:fix": "npm run lint -- --fix", + "lint:app": "bslint --project playlet/bsconfig.lint.json --lintConfig config/bslint.jsonc", + "lint:lib": "bslint --project playlet-lib/bsconfig.lint.json --lintConfig config/bslint.jsonc", + "lint": "npm run lint:lib && npm run lint:app", + "lint:fix": "npm run lint:lib -- --fix && npm run lint:app -- --fix", "format:base": "bsfmt \"playlet/src/**/*.brs\" \"playlet/src/**/*.bs\" \"!playlet/src/components/lib/**/*\" \"!playlet/src/source/lib/**/*\" \"!**/bslib.brs\" \"!**/roku_modules/**/*\" \"playlet-lib/src/**/*.brs\" \"playlet-lib/src/**/*.bs\" \"!playlet-lib/src/components/lib/**/*\" \"!playlet-lib/src/source/lib/**/*\" \"!**/bslib.brs\" \"!**/roku_modules/**/*\" --bsfmt-path \"config/bsfmt.jsonc\"", "format": "npm run format:base -- --check", "format:fix": "npm run format:base -- --write", @@ -59,4 +61,4 @@ "update-rale-component": "cd tools/RALE && rm TrackerTask.xml && curl -o TrackerTask.zip https://devtools.web.roku.com/roku-advanced-layout-editor/app/TrackerTask.zip && unzip TrackerTask.zip && rm TrackerTask.zip", "postinstall": "npx ropm copy && cd playlet-web && npm install" } -} +} \ No newline at end of file