{"library":"lint-fn","type":"library","category":null,"description":"lint-fn is a Node.js library (v2.45.0) that runs ESLint with automatic fixes using predefined rules based on file path. It supports JavaScript and TypeScript files, has a peer dependency on TypeScript 4.7.4, and requires Node.js >15. Differentiators include file-path-based rule selection and environment variable support for skipping specific ESLint rules. The package ships TypeScript types, but has a known issue with linting certain TypeScript declaration files like rambda/files/index.d.ts. Development appears slow, with a TODO item referencing lack of ESLint debug config. The library is published on npm and hosted on GitHub under selfrefactor/services.","language":"javascript","status":"active","version":"2.45.0","tags":["javascript","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install lint-fn","imports":["import lintFn from 'lint-fn'","import { lintFn } from 'lint-fn'","import type { LintOptions } from 'lint-fn'"]},{"cmd":"yarn add lint-fn","imports":[]},{"cmd":"pnpm add lint-fn","imports":[]}],"homepage":null,"github":"https://github.com/selfrefactor/services.git#master","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/lint-fn","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}