Set of rules to add on top of @masterworks/eslint-config-masterworks/base to make your strict: true TypeScript projects even stricter.
This preset itself doesn't need extra peer dependencies. Install those dictated by @masterworks/eslint-config-masterworks/base.
Import the preset in your eslint.config.js file and extend it after the base preset:
import * as base from '@masterworks/eslint-config-masterworks/base/index.js'
import * as typescriptStrict from '@masterworks/eslint-config-masterworks/typescript-strict/index.js'
export default [
{
ignores: [
// Files to ignore globally.
],
},
...base.apply({
tsconfigRootDir: import.meta.dirname,
}),
...typescriptStrict.apply({
rules: {
// Here you can customize or disable rules.
},
}),
]