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