0.0.1 • Published 6 years ago

eslint-plugin-foundry-vtt v0.0.1

Weekly downloads
45
License
ISC
Repository
gitlab
Last release
6 years ago

eslint-plugin-foundry-vtt

Allows using ESLint to lint Foundry VTT modules

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-foundry-vtt:

$ npm install eslint-plugin-foundry-vtt --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-foundry-vtt globally.

Usage

Add plugin:foundry-vtt/recommended to the extends section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "extends": [
        "plugin:foundry-vtt/recommended"
    ]
}
0.0.1

6 years ago