Add bs linter and enable github job
This commit is contained in:
parent
c60dd3c500
commit
fa75a11d27
13
.github/workflows/bslint.yml
vendored
Normal file
13
.github/workflows/bslint.yml
vendored
Normal file
|
@ -0,0 +1,13 @@
|
|||
name: linter
|
||||
on: [push, pull_request]
|
||||
|
||||
jobs:
|
||||
ci:
|
||||
runs-on: ubuntu-20.04
|
||||
steps:
|
||||
- uses: actions/checkout@master
|
||||
- uses: actions/setup-node@master
|
||||
with:
|
||||
node-version: "14.12.0"
|
||||
- run: npm ci
|
||||
- run: npx bslint
|
|
@ -6,5 +6,6 @@
|
|||
"images/**/*.*",
|
||||
"resources/**/*.*",
|
||||
"locale/**/*.*"
|
||||
]
|
||||
],
|
||||
"plugins": [ "@rokucommunity/bslint" ]
|
||||
}
|
962
package-lock.json
generated
962
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
|
@ -7,12 +7,14 @@
|
|||
"test": "tests"
|
||||
},
|
||||
"devDependencies": {
|
||||
"brighterscript": "^0.30.1",
|
||||
"@rokucommunity/bslint": "^0.4.0",
|
||||
"brighterscript": "^0.30.9",
|
||||
"rooibos-cli": "^1.0.1"
|
||||
},
|
||||
"scripts": {
|
||||
"validate": "npx bsc --copy-to-staging=false --create-package=false",
|
||||
"test": "echo \"Error: no test specified\" && exit 1"
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"lint": "bslint"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
|
@ -28,4 +30,4 @@
|
|||
"url": "https://github.com/jellyfin/jellyfin-roku/issues"
|
||||
},
|
||||
"homepage": "https://github.com/jellyfin/jellyfin-roku#readme"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user