Registry / testing / eslint-plugin-fest

eslint-plugin-fest

JSON →
library0.2.4jsnpmunverified

ESLint plugin for linting inline scripts and params in Fest XML template files. Current version 0.2.4 (last updated 2017). Low release cadence, no recent updates. Focuses on enforcing coding standards within Fest templates, similar to how eslint-plugin-html works for HTML files. Differentiator: dedicated to Fest framework.

npm install eslint-plugin-fest
INSTALL
IMPORT
SIG · ESLINT-PLUGIN-FEST
E
eslint-plugin-fest
testingjavascriptv0.2.4
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.

plugin
✓ plugins: ['eslint-plugin-fest']
✗ plugins: ['fest']
ESLint requires the full 'eslint-plugin-' prefix or the shorthand 'fest', but the example in README uses 'eslint-plugin-fest'.

Adds the fest plugin to ESLint and enables a rule. Lint Fest XML files with the --ext flag.

// .eslintrc.json { "plugins": ["eslint-plugin-fest"], "rules": { "fest/rule-name": "error" } } // Lint command: eslint --ext .xml,.js src
Debug
Known issues
gotchaPlugin requires ESLint to lint .xml files explicitly; without --ext .xml, Fest files are ignored.
fix
Use eslint --ext .xml,.js src or configure eslint.extensions in your editor.
affects: >=0.0.0
deprecatedThe package has not been updated since 2017 and is likely unmaintained.
fix
Consider alternatives like eslint-plugin-html for generic template linting.
affects: >=0.0.0
Errors
Common errors & fixes
Error: Failed to load plugin 'eslint-plugin-fest' declared in '.eslintrc.json': Cannot find module 'eslint-plugin-fest'
Plugin not installed correctly.
fix
Run npm install --save-dev eslint-plugin-fest
Upgrade
Version history
0.2.4latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
eslint-plugin-fest — npm install eslint-plugin-fest · libregistry