Skip to content

Commit

Permalink
Update linting and CI configs.
Browse files Browse the repository at this point in the history
  • Loading branch information
dlongley committed Mar 30, 2022
1 parent 3c3b2a3 commit 0a9cadb
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 4 deletions.
9 changes: 7 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,12 @@
module.exports = {
root: true,
extends: ['digitalbazaar'],
parserOptions: {
// this is required for dynamic import()
ecmaVersion: 2020
},
env: {
node: true
}
},
extends: ['digitalbazaar', 'digitalbazaar/jsdoc'],
ignorePatterns: ['node_modules/']
};
5 changes: 3 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
name: Lint CI
name: Bedrock Node.js CI

on: [push]

jobs:
lint:
runs-on: ubuntu-latest
timeout-minutes: 10
strategy:
matrix:
node-version: [12.x]
node-version: [14.x]
steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
Expand Down

0 comments on commit 0a9cadb

Please sign in to comment.