@pnpm/eslint-config
v1100.0.3
Published
pnpm's ESLint configuration
Readme
@pnpm/eslint-config
pnpm's ESLint configuration
Installation
pnpm add -D @pnpm/eslint-config eslintUsage
Create an eslint.config.mjs file:
import eslintConfig from '@pnpm/eslint-config'
export default eslintConfigThe configuration includes TypeScript ports of the perfectionist rules that pnpm's Rust code is linted with. They are registered under the perfectionist/ prefix, and each keeps the name of its Rust counterpart. The limits on function size and shape are also exported as sizeAndShapeRules, so a project can turn them off for code that does not meet them yet.
License
MIT
