Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
thomasrockhu committed Jan 3, 2021
1 parent be4e2a5 commit 4dcb712
Show file tree
Hide file tree
Showing 4 changed files with 283 additions and 9 deletions.
19 changes: 19 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"env": {
"browser": true,
"commonjs": true,
"es2021": true
},
"extends": [
"google"
],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 12
},
"plugins": [
"@typescript-eslint"
],
"rules": {
}
}
12 changes: 9 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@master
uses: actions/checkout@v2
with:
fetch-depth: 2
- name: Install dependencies
run: npm install
run: |
npm install
npm i -g eslint
- name: Lint
run: npm run lint
- name: Run tests and collect coverage
run: yarn run test-all
run: yarn run test
- name: Upload coverage to Codecov (demo)
uses: ./
with:
Expand Down
Loading

0 comments on commit 4dcb712

Please sign in to comment.