eslint-merge
v0.0.66
Published
Merge configurations for ESLint 9
Downloads
70
Readme
eslint-merge
Merge Flat Config for ESLint v9
Install
npm i -D eslint-mergeUse
The merge function combines two objects and returns the result
import merge from 'eslint-merge'The first argument should be a config, and the second argument an object which contains your changes
const result = merge(sharedConfig, changes)In eslint.config.*
export default [
merge(sharedConfig, {
files: [
'src/**/*.{mjs,cjs}'
]
})
]