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

Commit f6e4de3

Browse files
authored
Enable eslint (#1394)
1 parent c03d9cb commit f6e4de3

16 files changed

+539
-465
lines changed

.eslintignore

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
**/_actual.js
2+
**/expected.js
3+
_output
4+
test/*/samples/*/output.js
5+
node_modules
6+
__sapper__
7+
/runtime/app.mjs
8+
/runtime/server.mjs

.eslintrc.js

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
module.exports = {
2+
root: true,
3+
extends: '@sveltejs'
4+
};

.github/workflows/ci.yml

+6-7
Original file line numberDiff line numberDiff line change
@@ -17,10 +17,9 @@ jobs:
1717
- run: npm test
1818
env:
1919
CI: true
20-
# Uncomment with https://github.com/sveltejs/sapper/pull/1198
21-
# Lint:
22-
# runs-on: ubuntu-latest
23-
# steps:
24-
# - uses: actions/checkout@v2
25-
# - uses: actions/setup-node@v1
26-
# - run: 'npm i && npm run lint'
20+
Lint:
21+
runs-on: ubuntu-latest
22+
steps:
23+
- uses: actions/checkout@v2
24+
- uses: actions/setup-node@v1
25+
- run: 'npm i && npm run lint'

0 commit comments

Comments
 (0)