Replaces Acorn over Travis CI by ESLint over (Microsoft) GitHub Actions

> See #11, Acorn was great but not sufficient for Mozilla's libPref syntax...
This commit is contained in:
Samuel FORESTIER 2020-11-05 16:00:40 +01:00
parent ba65d33451
commit b36710a76e
3 changed files with 62 additions and 8 deletions

17
.github/workflows/linting.yml vendored Normal file
View file

@ -0,0 +1,17 @@
---
name: Linting
on: [push, pull_request]
jobs:
build:
name: Run ESLint on user.js
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: npm install -g eslint
- run: eslint user.js