lint during CI

pull/3691/head
Conduitry 5 years ago
parent 57aeddcf85
commit d3e815c209

@ -16,3 +16,9 @@ jobs:
- run: 'npm i && npm test'
env:
CI: true
Lint:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
- run: 'npm i && npm run lint'

@ -47,6 +47,12 @@ module.exports = {
},
settings: {
'import/core-modules': ['svelte'],
'svelte3/compiler': require('svelte/compiler')
'svelte3/compiler': (() => {
try {
return require('svelte/compiler');
} catch (e) {
return null;
}
})()
}
};

Loading…
Cancel
Save