Skip to content

Commit

Permalink
i love linters
Browse files Browse the repository at this point in the history
  • Loading branch information
bristermitten committed Oct 30, 2024
1 parent aab5d1a commit 12a149a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,6 @@ jobs:
- name: Run ESLint
run: npx eslint .
--config eslint.config.js
--ext .ts,.tsx
--format @microsoft/eslint-formatter-sarif
--output-file eslint-results.sarif
continue-on-error: true
Expand Down
9 changes: 5 additions & 4 deletions eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@ import tseslint from "typescript-eslint";


export default [
{files: ["**/*.{js,mjs,cjs,ts}"]},
{languageOptions: { globals: globals.node }},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
{files: ["**/*.{js,mjs,cjs,ts}"]},
{ignores: [".yarn", "bin"]},
{languageOptions: {globals: globals.node}},
pluginJs.configs.recommended,
...tseslint.configs.recommended,
];

0 comments on commit 12a149a

Please sign in to comment.