banging my head on this right now

This commit is contained in:
kittentm 2026-03-08 07:49:14 +01:00
commit d0d223dd23
No known key found for this signature in database
GPG key ID: AC43DFDBC1F44A91

View file

@ -11,7 +11,7 @@ jobs:
steps: steps:
- uses: actions/checkout@v4 - uses: actions/checkout@v4
- name: Install Linters - name: Install Linters
run: npm install -g htmlhint stylelint stylelint-config-standard eslint run: npm install -g htmlhint stylelint stylelint-config-standard eslint globals
- name: HTML - name: HTML
run: htmlhint "**/*.html" --ignore "assets/**" run: htmlhint "**/*.html" --ignore "assets/**"
- name: CSS - name: CSS
@ -34,4 +34,14 @@ jobs:
stylelint "**/*.css" --allow-empty-input --fix || stylelint "**/*.css" --allow-empty-input stylelint "**/*.css" --allow-empty-input --fix || stylelint "**/*.css" --allow-empty-input
- name: JS - name: JS
run: | run: |
export ESLINT_USE_FLAT_CONFIG=false && npx eslint . --rule 'semi: [2, always]' --rule 'no-console: 0' --env browser echo "import globals from 'globals';
export default [
{
languageOptions: { globals: globals.browser },
rules: {
'semi': ['error', 'always'],
'no-console': 'off'
}
}
];" > eslint.config.mjs
npx eslint .