Skip to content

Commit

Permalink
feat(ci): add GitHub actions and allow svelte/no-at-html-tags
Browse files Browse the repository at this point in the history
  • Loading branch information
CNSeniorious000 committed Jan 6, 2024
1 parent 440daf9 commit fdd236b
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ module.exports = {
parser: 'svelte-eslint-parser',
parserOptions: {
parser: '@typescript-eslint/parser'
},
rules: {
'svelte/no-at-html-tags': 'off'
}
}
]
Expand Down
15 changes: 15 additions & 0 deletions .github/workflows/eslint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
name: eslint check

on: ["push", "pull_request"]

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Install modules
run: npm install
- name: Show environment info
run: npm run lint --env-info
- name: Run ESLint
run: npm run lint

0 comments on commit fdd236b

Please sign in to comment.