Registry / testing / eslint-config-jotform

eslint-config-jotform

JSON →
library1.0.34jsnpmunverified

A global ESLint configuration for JotForm JavaScript projects, extending Airbnb's base rules. Currently at v1.0.34, it is intended for internal JotForm developer use. The configuration is minimal: simply extend 'jotform' in your .eslintrc. Requires eslint-config-airbnb as a peer dependency. Updates are driven by JotForm developer feedback. Not recommended for external projects due to lack of customization and beta-level maturity.

npm install eslint-config-jotform
INSTALL
IMPORT
SIG · ESLINT-CONFIG-JOTF
E
eslint-config-jotform
testingjavascriptv1.0.34
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.

jotform
✓ extends: 'jotform' in .eslintrc
✗ extends: 'eslint-config-jotform'
Use the shorthand 'jotform' as the package name; ESLint resolves it automatically.
eslint-config-jotform
✓ npm install eslint-config-jotform --save-dev
✗ npm install eslint-config-jotform --save
Should be installed as a devDependency since it's a linting config.
eslint-config-airbnb
✓ npm install eslint-config-airbnb --save-dev
Peer dependency must be installed separately; not included automatically.

Installs and configures ESLint with JotForm rules, then runs a linter on a sample file.

// Install dependencies npm install --save-dev eslint eslint-config-jotform eslint-config-airbnb // Create .eslintrc.json { "extends": "jotform" } // Test with a file: example.js const unused = 'This will trigger a warning'; console.log('Hello, JotForm!'); // Run ESLint npx eslint example.js
Debug
Known issues
deprecatedPeer dependency eslint-config-airbnb may become stale if not updated alongside jotform config.
fix
Keep both packages up-to-date; check compatibility with each release.
affects: >=1.0.0
gotchaThe config extends Airbnb's base rules; any rule overrides may conflict with JotForm's intended style.
fix
Avoid overriding rules unless necessary; test thoroughly.
affects: >=1.0.0
gotchaESLint v9+ uses flat config; this package uses legacy eslintrc format. Requires ESLint <9 or compatibility plugins.
fix
Use ESLint v8.x or configure flat config compatibility with eslint/use-at-your-own-risk.
affects: >=1.0.0
breakingAirbnb config removed in future versions? Check release notes for major changes.
fix
Monitor repository for updates; consider switching to eslint-config-jotform standalone if available.
affects: >=1.0.0
Errors
Common errors & fixes
Error: Failed to load plugin 'import' declared in 'BaseConfig': Cannot find module 'eslint-plugin-import'
eslint-plugin-import is a peer dependency of eslint-config-airbnb but not listed in eslint-config-jotform's package.json.
fix
Install missing plugin: npm install --save-dev eslint-plugin-import
Error: Cannot find module 'eslint-config-airbnb'
eslint-config-airbnb is a required peer dependency not installed.
fix
Run: npm install --save-dev eslint-config-airbnb
Configuration for rule 'react/jsx-filename-extension' is invalid
Airbnb config expects React to be installed; JotForm project might not use React.
fix
Override the rule in .eslintrc: 'react/jsx-filename-extension': 'off'
Parsing error: Unexpected token =>
ESLint parser not configured for modern JS features; Airbnb config expects babel-eslint or @babel/eslint-parser.
fix
Install and configure @babel/eslint-parser: npm install --save-dev @babel/core @babel/eslint-parser; add 'parser': '@babel/eslint-parser' to .eslintrc
Upgrade
Version history
1.0.34latest on npm
Audit
Dependencies
eslint-config-airbnbrequiredRequired peer dependency; the JotForm config extends Airbnb's base configuration.
Agent activity
9 hits · last 30 days
node
8
Resources
eslint-config-jotform — npm install eslint-config-jotform · libregistry