An ESLint plugin that provides a processor to lint files using eslint-env comments in an ESLint flat config. Version 0.6.0 requires ESLint >=8.21 and ships TypeScript types. It allows developers to specify environments per file via /* eslint-env */ comments, including plugin-defined environments like cypress/globals or react-native/react-native. Key differentiator: integrates eslint-env comment functionality into the flat config system, which is not natively supported by ESLint's flat config.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Default export is not available; must use a named import. ESM-only package.
CommonJS destructuring is needed; the package does not export a function directly.
For legacy eslintrc configs, import default as a plugin object. For flat config, use the named EslintEnvProcessor.
Shows how to use the EslintEnvProcessor in an ESLint flat config file (eslint.config.js with ESM imports).
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.