Registry / testing / eslint-config-facile

eslint-config-facile

JSON →
library1.0.2jsnpmunverified

A shareable ESLint configuration by Facile.it, currently at v1.0.2. It provides a comprehensive, extensible setup for TypeScript, React, and Node projects, including integration with Prettier. The config uses ESLint's flat config format (v9+ required) and ships with TypeScript type definitions. Notable features: support for Next.js, consistent type imports enforcement, and a modular design allowing project-specific overrides. Active development with frequent updates.

npm install eslint-config-facile
INSTALL
IMPORT
SIG · ESLINT-CONFIG-FACI
E
eslint-config-facile
testingjavascriptv1.0.2
Install
Import
Disk
Pass rate
0/ 6
Env Coverage0 / 6
glibc
1822
musl
1822
Install & Compatibility
Where this runs
tested against v? · npm install
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
musl
node 18226 runs
build_error
glibc
node 18226 runs
build_error
Code
Verified usage

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

default
import config from 'eslint-config-facile'
const config = require('eslint-config-facile')
ESM-only since v1.0.0. Use dynamic import for CommonJS.
configs
import { configs } from 'eslint-config-facile'
Named export for accessing individual config presets.
reactConfig
import { reactConfig } from 'eslint-config-facile'
React-specific configuration preset.
nextConfig
import { nextConfig } from 'eslint-config-facile'
Next.js-specific configuration preset.
Config
import type { Config } from 'eslint-config-facile'
TypeScript type import for the config object.

Basic setup using flat config with eslint-config-facile, showing import and rule override.

// eslint.config.mjs import config from 'eslint-config-facile'; export default [ ...config, { // Override specific rules rules: { 'no-console': 'warn', }, }, ];
Debug
Known issues
breakingESLint v9 flat config format required since v1.0.0
fix
Migrate from .eslintrc.* to eslint.config.mjs using flat config. See migration guide in docs.
affects: >=1.0.0
breakingLegacy .eslintrc format dropped in v1.0.0
fix
Remove .eslintrc.* files and use eslint.config.* with flat config.
affects: >=1.0.0
breakingRemoved parser project config in v1.0.2 (PR #15)
fix
If you relied on parserOptions.project, set it manually in your config.
affects: >=1.0.2
deprecatedThe `import/no-duplicates` rule was added in v0.12.0; previous versions may not have it
fix
Upgrade to v0.12.0+ to enable the rule, or add it manually.
affects: <0.12.0
gotcharequire() not supported for default export in ESM-only package since v1.0.0
fix
Use dynamic import: const config = (await import('eslint-config-facile')).default;
affects: >=1.0.0
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module /path/node_modules/eslint-config-facile/index.mjs from /path/eslint.config.js not supported.
Package is ESM-only since v1.0.0, but you're using require() in a CommonJS context.
fix
Rename eslint.config.js to eslint.config.mjs (or use dynamic import).
ESLint couldn't determine the plugin of rule '__'.
Missing plugin dependency or incorrect rule name in override.
fix
Ensure all peer dependencies (eslint, prettier, typescript) are installed, and check rule names for typos.
Configuration for rule 'no-console' is invalid: Severity should be one of the following: 0 = off, 1 = warn, 2 = error.
Using string severity like 'warn' in older ESLint config format.
fix
Use numeric severity (0,1,2) or string in flat config (flat config supports strings).
Upgrade
Version history
1.0.2latest on npm
Audit
Dependencies
eslintrequiredPeer dependency: required to run linting
prettieroptionalPeer dependency: used for code formatting
typescriptoptionalPeer dependency: required for TypeScript rules
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-facile — npm install eslint-config-facile · libregistry