Skip to content

Commit

Permalink
Add eslint-plugin-compat (#966)
Browse files Browse the repository at this point in the history
  • Loading branch information
tagliala authored Dec 21, 2024
1 parent 3e77c26 commit b1539b8
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
10 changes: 6 additions & 4 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,13 +1,15 @@
import neostandard from 'neostandard'
import compat from 'eslint-plugin-compat'

export default [
{
ignores: [
'coverage/**/*.js',
'dist/**/*.js',
'test/**/*.js',
'vendor/**/*.js',
'coverage/*',
'dist/*',
'test/*',
'vendor/*',
]
},
compat.configs['flat/recommended'],
...neostandard()
]
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
"@rollup/plugin-node-resolve": "^16.0.0",
"chrome-launcher": "^1.1.2",
"eslint": "^9.17.0",
"eslint-plugin-compat": "^6.0.2",
"neostandard": "^0.12.0",
"puppeteer-core": "^23.10.4",
"rollup": "^4.28.1",
Expand Down

0 comments on commit b1539b8

Please sign in to comment.