Skip to content

Commit 97726c9

Browse files
committed
add missing file
1 parent 91e04bc commit 97726c9

1 file changed

Lines changed: 17 additions & 0 deletions

File tree

eslint.config.mjs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import compat from 'eslint-plugin-compat';
2+
3+
export default [
4+
{
5+
// Ignore everything except lib/
6+
ignores: ['**', '!lib/**'],
7+
},
8+
{
9+
// Only check browser API compat in the runtime library code.
10+
// All other linting is handled by oxlint.
11+
...compat.configs['flat/recommended'],
12+
files: ['lib/**/*.js'],
13+
linterOptions: {
14+
reportUnusedDisableDirectives: 'off',
15+
},
16+
},
17+
];

0 commit comments

Comments
 (0)