Registry / testing / eslint-config-simplifield

eslint-config-simplifield

JSON →
library12.0.0jsnpmunverified

ESLint shareable config created and maintained by SimpliField. Version 12.0.0 requires Node >=8.0.0. Provides a curated set of ESLint rules used internally at SimpliField. Designed to be extended directly via `extends` in .eslintrc. Supports both backend (Node) and frontend (React, Flow) projects. Lightweight with no runtime dependencies. Updated infrequently; check for compatibility with your ESLint version.

npm install eslint-config-simplifield
INSTALL
IMPORT
SIG · ESLINT-CONFIG-SIMP
E
eslint-config-simplifield
testingjavascriptv12.0.0
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.

eslint-config-simplifield
// .eslintrc { "extends": "eslint-config-simplifield" }
{ "extends": "simplifield" }
The full package name must be used, not a shorthand.
default
// .eslintrc { "extends": "eslint-config-simplifield" }
This package is not imported programmatically; it is used via ESLint's extends mechanism.
eslint-config-simplifield/react
// .eslintrc for React { "extends": "eslint-config-simplifield" }
No separate React config; use the base config and add React plugins as shown in README.

Shows a minimal .eslintrc using the SimpliField config, with Node/Mocha env and globals.

{ "extends": "eslint-config-simplifield", "env": { "node": true, "mocha": true }, "globals": { "require": false, "describe": false, "beforeEach": false, "afterEach": false, "before": false, "after": false, "it": false, "sinon": false, "module": false }, "plugins": [ "mongodb" ] }
Debug
Known issues
breakingVersion 2.0.0 upgraded to ESLint v2, which introduced many breaking changes to rules and config format.
fix
If on ESLint <2, use eslint-config-simplifield@1.x. If on ESLint >=2, use >=2.0.0.
affects: >=2.0.0 <3.0.0
gotchaThe config includes rules that may conflict with Prettier (e.g., indent rule often turned off).
fix
Disable conflicting rules in your project's .eslintrc (see README for examples like "indent": "off").
affects: *
deprecatedOlder versions (v1.x) used deprecated ESLint config format.
fix
Upgrade to v2.x+ and ESLint >=2.
affects: <2.0.0
Errors
Common errors & fixes
Configuration for rule "keyword-spacing" is invalid
Version 2.x of this package changed the keyword-spacing rule configuration.
fix
Update your project's .eslintrc to use an array format: "keyword-spacing": ["error", { "before": true }]
Upgrade
Version history
12.0.0latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
4 hits · last 30 days
node
4
Resources
eslint-config-simplifield — npm install eslint-config-simplifield · libregistry