{"library":"base-lint","type":"library","category":null,"description":"base-lint scans repositories for usage of modern Web Platform features and evaluates them against the Baseline dataset to ensure new features ship with fallbacks. Version 1.2.1 is current, with active maintenance and a GitHub Action for CI integration. Key differentiators include diff-mode analysis (default), Markdown and JSON reports, threshold-based enforcement (base-lint enforce), GitHub Checks annotation (base-lint annotate), and PR comment creation (base-lint comment). It relies on @typescript-eslint/typescript-estree for parsing TypeScript/JavaScript, requiring Node.js 18.17+ or 20.x LTS. Alternatives like Lighthouse or caniuse require external dataset integration, whereas base-lint provides an out-of-the-box CLI with built-in Baseline compliance tooling.","language":"javascript","status":"active","version":"1.2.1","tags":["javascript","lint","baseline","eslint","stylelint","typescript","css","cli"],"last_verified":"Fri May 01","install":[{"cmd":"npm install base-lint","imports":["import baseLint from 'base-lint'","import { scan } from 'base-lint'","import { enforce } from 'base-lint'"]},{"cmd":"yarn add base-lint","imports":[]},{"cmd":"pnpm add base-lint","imports":[]}],"homepage":"https://base-lint.dev","github":"https://github.com/ej-sanmartin/base-lint","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/base-lint","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}