Skip to content
This repository has been archived by the owner on Jan 11, 2023. It is now read-only.

Commit

Permalink
Enable eslint (#1394)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored Aug 12, 2020
1 parent c03d9cb commit f6e4de3
Show file tree
Hide file tree
Showing 16 changed files with 539 additions and 465 deletions.
8 changes: 8 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
**/_actual.js
**/expected.js
_output
test/*/samples/*/output.js
node_modules
__sapper__
/runtime/app.mjs
/runtime/server.mjs
4 changes: 4 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
root: true,
extends: '@sveltejs'
};
13 changes: 6 additions & 7 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ jobs:
- run: npm test
env:
CI: true
# Uncomment with https://github.com/sveltejs/sapper/pull/1198
# Lint:
# runs-on: ubuntu-latest
# steps:
# - uses: actions/checkout@v2
# - uses: actions/setup-node@v1
# - run: 'npm i && npm run lint'
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-node@v1
- run: 'npm i && npm run lint'
Loading

0 comments on commit f6e4de3

Please sign in to comment.