Skip to content

Commit 12a149a

Browse files
committed
i love linters
1 parent aab5d1a commit 12a149a

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

.github/workflows/lint.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,6 @@ jobs:
3131
3232
- name: Run ESLint
3333
run: npx eslint .
34-
--config eslint.config.js
35-
--ext .ts,.tsx
3634
--format @microsoft/eslint-formatter-sarif
3735
--output-file eslint-results.sarif
3836
continue-on-error: true

eslint.config.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,9 @@ import tseslint from "typescript-eslint";
44

55

66
export default [
7-
{files: ["**/*.{js,mjs,cjs,ts}"]},
8-
{languageOptions: { globals: globals.node }},
9-
pluginJs.configs.recommended,
10-
...tseslint.configs.recommended,
7+
{files: ["**/*.{js,mjs,cjs,ts}"]},
8+
{ignores: [".yarn", "bin"]},
9+
{languageOptions: {globals: globals.node}},
10+
pluginJs.configs.recommended,
11+
...tseslint.configs.recommended,
1112
];

0 commit comments

Comments
 (0)