diff --git a/.forgejo/workflows/lint.yml b/.forgejo/workflows/lint.yml index 68b5df2..5bb886f 100644 --- a/.forgejo/workflows/lint.yml +++ b/.forgejo/workflows/lint.yml @@ -13,8 +13,8 @@ jobs: - name: Install Linters run: npm install -g htmlhint stylelint stylelint-config-standard eslint - name: HTML - run: htmlhint "**/*.html" + run: htmlhint "**/*.html" --ignore "assets/**" - name: CSS - run: stylelint "**/*.css" --config-basedir /usr/local/lib/node_modules + run: stylelint "**/*.css" --config /usr/local/lib/node_modules/stylelint-config-standard/index.js --allow-empty-input - name: JS - run: "npx eslint . --no-eslintrc --rule 'semi: [2, always]' --rule 'no-console: 0'" \ No newline at end of file + run: 'npx eslint . --no-eslintrc --rule "semi: [2, always]" --rule "no-console: 0" --env browser' \ No newline at end of file