Skip to content

Commit b1539b8

Browse files
authored
Add eslint-plugin-compat (#966)
1 parent 3e77c26 commit b1539b8

File tree

2 files changed

+7
-4
lines changed

2 files changed

+7
-4
lines changed

eslint.config.mjs

+6-4
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,15 @@
11
import neostandard from 'neostandard'
2+
import compat from 'eslint-plugin-compat'
23

34
export default [
45
{
56
ignores: [
6-
'coverage/**/*.js',
7-
'dist/**/*.js',
8-
'test/**/*.js',
9-
'vendor/**/*.js',
7+
'coverage/*',
8+
'dist/*',
9+
'test/*',
10+
'vendor/*',
1011
]
1112
},
13+
compat.configs['flat/recommended'],
1214
...neostandard()
1315
]

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
"@rollup/plugin-node-resolve": "^16.0.0",
2929
"chrome-launcher": "^1.1.2",
3030
"eslint": "^9.17.0",
31+
"eslint-plugin-compat": "^6.0.2",
3132
"neostandard": "^0.12.0",
3233
"puppeteer-core": "^23.10.4",
3334
"rollup": "^4.28.1",

0 commit comments

Comments
 (0)