Registry / testing / eslint-config-simplesense

eslint-config-simplesense

JSON →
library6.0.38jsnpmunverified

ESLint shareable config for Simplesense coding styles. Current version 6.0.38, compatible with ESLint 9.x. Released regularly with many versions. Provides a flat config setup with recommended rules and plugin configurations. Key differentiator: integrated documentation generation for rules, supporting multiple documentation sources (module, GitHub, static). Includes file type linting support. Requires ESLint 9.x as a peer dependency.

npm install eslint-config-simplesense
INSTALL
IMPORT
SIG · ESLINT-CONFIG-SIMP
E
eslint-config-simplesense
testingjavascriptv6.0.38
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 export
import config from 'eslint-config-simplesense'
const config = require('eslint-config-simplesense')
ESLint flat config uses ESM exports. CommonJS require will fail.
configs array
import { configs } from 'eslint-config-simplesense'
import configs from 'eslint-config-simplesense'
configs is a named export containing the array of config objects.
plugin export
import { plugins } from 'eslint-config-simplesense'
import plugins from 'eslint-config-simplesense'
Named export for plugins if needed separately.

Shows how to use the flat config array in an eslint.config.js file.

import config from 'eslint-config-simplesense'; export default [ ...config, { rules: { 'no-console': 'warn', }, }, ];
Debug
Known issues
breakingv6.0.0 switched from .eslintrc to flat config format
fix
Migrate to eslint.config.js using the flat config array import.
affects: >=6.0.0
deprecatedESLint 8.x is not supported in v6.x
fix
Update ESLint to 9.x.
affects: >=6.0.0
gotchaCommonJS require() will throw because config uses ESM syntax
fix
Use import syntax in an ESM module or rename file to .mjs.
affects: >=6.0.0
gotchaDefault export is an array, not an object; spreading into your config array is required
fix
Use ...config to flatten the configs into your array.
affects: >=6.0.0
Errors
Common errors & fixes
Error [ERR_REQUIRE_ESM]: require() of ES Module
Using CommonJS require to load the config which is ESM-only
fix
Change to import syntax or use dynamic import() inside a CommonJS file.
TypeError: config is not iterable
Forgetting to spread the default export array in eslint.config.js
fix
Use export default [...config]; instead of export default config;
ESLint couldn't find the config 'eslint-config-simplesense'
Missing install of the package or mismatched version
fix
Run npm install eslint-config-simplesense --save-dev and ensure ESLint 9.x is installed.
Upgrade
Version history
6.0.38latest on npm
Audit
Dependencies
eslintrequiredPeer dependency for ESLint configuration
Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-simplesense — npm install eslint-config-simplesense · libregistry