@sequencemedia/eslint-config-standard
v0.2.9
Published
Standard configuration for ESLint 9
Downloads
3,142
Readme
@sequencemedia/eslint-config-standard
Standard style Flat Config for ESLint v9
Based on Standard via neostandard
Install
npm i -D @sequencemedia/eslint-config-standard
Use
In your eslint.config.*
either:
export { default } from '@sequencemedia/eslint-config-standard'
Or:
import { configs } from '@sequencemedia/eslint-config-standard'
export default [
configs.recommended
]
You can merge changes in the default configuration using the merge
utility:
import merge from '@sequencemedia/eslint-config-standard/configs/recommended/merge'
export default (
merge({
files: [
'**/*.{mjs,cjs}'
],
ignores: [
'lib'
]
})
)
Which is equivalent to:
import { configs } from '@sequencemedia/eslint-config-standard'
export default [
{
...configs.recommended,
files: [
'**/*.{mjs,cjs}'
],
ignores: [
'lib'
]
}
]