Registry / testing / eslint-plugin-foundry-vtt

eslint-plugin-foundry-vtt

JSON →
library0.0.1jsnpmunverified

An ESLint plugin for linting Foundry Virtual Tabletop (VTT) modules. v0.0.1 is the initial release. It provides rules and configurations that enforce best practices specific to Foundry VTT development, such as avoiding deprecated APIs and following module conventions. The plugin is designed to be used with ESLint 0.10.0 or later and ships with a 'recommended' configuration. As an early release, users should expect potential breaking changes.

testing
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 automatically resolves the 'eslint-plugin-' prefix.

In .eslintrc: { "extends": ["plugin:foundry-vtt/recommended"] }

Shows how to install and configure the ESLint plugin for Foundry VTT modules using the recommended ruleset.

// .eslintrc.json { "extends": [ "plugin:foundry-vtt/recommended" ] } // Install git init npm init -y npm install eslint eslint-plugin-foundry-vtt --save-dev npx eslint .
Debug
Known footguns
breakingInitial release (v0.0.1) may have unstable rules or configurations.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
11 hits · last 30 days
claudebot
4
gptbot
3
ahrefsbot
3
bingbot
1
Resources