ESLint Config Form.io
raw JSON → 1.1.4 verified Sat Apr 25 auth: no javascript
eslint-config-formio provides a shared ESLint configuration for Form.io projects. The current stable version is 1.1.4, with occasional updates to align with Form.io's coding standards. It extends recommended ESLint rules and includes environment settings for ECMAScript 2021 and Node.js. Compared to other ESLint config packages, this one is tailored specifically for Form.io's codebase and may include custom rules or overrides. It is primarily distributed as an npm package and can be used in any JavaScript or TypeScript project following Form.io conventions.
Common errors
error ESLint couldn't find the config "eslint-config-formio". ↓
cause The package is not installed or is not in node_modules.
fix
Run
npm install eslint-config-formio --save-dev Warnings
gotcha No major breaking changes, but the config may override some custom rules. Check for Rule ID collisions. ↓
fix Review your project's existing ESLint rules and disable or adjust as needed.
Install
npm install eslint-config-formio yarn add eslint-config-formio pnpm add eslint-config-formio Quickstart
// .eslintrc.json
{
"extends": "eslint-config-formio"
}