Registry / devops / flamingo-carotene-es-lint

flamingo-carotene-es-lint

JSON →
library9.0.0-alpha.13jsnpmunverified

A Flamingo Carotene module that integrates ESLint into the build pipeline, either as a webpack preloader or as a standalone child process. Version 9.0.0-alpha.13 is in alpha, released as part of the Flamingo Carotene monorepo. Key features: automatic detection of project ESLint configs, support for fixing errors, and configurable break-on-error behavior. Differentiators: tight integration with Flamingo Carotene ecosystem, dual mode (webpack + standalone).

npm install flamingo-carotene-es-lint
INSTALL
IMPORT
SIG · FLAMINGO-CAROTENE-
F
flamingo-carotene-es-lint
devopsjavascriptv9.0.0-alpha.13
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

default
import flamingoCaroteneEsLint from 'flamingo-carotene-es-lint'
const flamingoCaroteneEsLint = require('flamingo-carotene-es-lint')
ESM-only package; CommonJS require may fail. This package is intended to be used as a Flamingo Carotene module, not directly imported in most cases.
config
import { config } from 'flamingo-carotene-es-lint'
Named export for accessing the default configuration object.
name
import { name } from 'flamingo-carotene-es-lint'
Named export for the module name string.

Installation and basic configuration of the ESLint module in a Flamingo Carotene project.

// Install the module npm i -D flamingo-carotene-es-lint // In your Flamingo Carotene setup, the module auto-registers. // To use with webpack preloader (default): // config.eslint.useWebpackLoader = true; // To customize: // config.eslint = { // useWebpackLoader: false, // breakOnError: true, // configFilePath: './.eslintrc.js', // ignoreFilePath: './.eslintignore', // fixErrors: true, // extensions: ['.js', '.jsx'] // };
Debug
Known issues
breakingVersion 9.0.0-alpha.13 is in alpha and may have breaking changes from stable versions. Do not use in production.
fix
Pin to a stable version like 8.x until this module reaches stable.
affects: >=9.0.0-alpha.0
deprecatedeslint-loader is deprecated; webpack 5 uses eslint-webpack-plugin instead.
fix
Switch to eslint-webpack-plugin or set useWebpackLoader to false and run standalone.
affects: >=9.0.0-alpha.0
gotchaThe 'extentions' config key is misspelled (should be 'extensions').
fix
Use 'extensions' in your config object, though the module reads 'extentions' (typo).
affects: >=9.0.0-alpha.0
Errors
Common errors & fixes
Error: Cannot find module 'eslint-loader'
eslint-loader not installed when useWebpackLoader is true.
fix
npm install eslint-loader --save-dev
TypeError: Cannot read properties of undefined (reading 'useWebpackLoader')
Config object not initialized before setting ESLint config.
fix
Make sure config.eslint exists: config.eslint = config.eslint || {};
Upgrade
Version history
9.0.0-alpha.13latest on npm
Audit
Dependencies
eslintrequiredESLint is the core linting engine.
eslint-loaderoptionalRequired for webpack preloader integration when useWebpackLoader is true.
Agent activity
2 hits · last 30 days
node
2
Resources
flamingo-carotene-es-lint — npm install flamingo-carotene-es-lint · libregistry