Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update remark-abbr to work with remark@next #516

Open
wants to merge 13 commits into
base: next
Choose a base branch
from
Open
18 changes: 16 additions & 2 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,10 @@ export default [
'packages/**/__tests__/*.js',
'packages/**/dist/**/*.js',
'packages/zmarkdown/webpack.config.js',
// Should not be ignored, but requires ESM
// Handled by ESM rules
'packages/zmarkdown/client/*.js',
'packages/zmarkdown/public/*.js'
'packages/zmarkdown/public/*.js',
'packages/**/lib/*.js'
],
languageOptions: {
sourceType: 'commonjs',
Expand All @@ -28,5 +29,18 @@ export default [
...globals.node
}
}
}),
Object.assign({}, ...compat.extends('standard'), {
files: [
'packages/**/lib/*.js'
],
ignores: [],
languageOptions: {
sourceType: 'module',
globals: {
...globals.browser,
...globals.node
}
}
})
]
Loading
Loading