Skip to content

davidtimmons/eslint-plugin-adventure-land

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-adventure-land

Adventure Land MMORPG ESLint plugin adding a custom environment containing global game functions, classes, and variables. For test stubs and mock data, see the test helpers.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-adventure-land:

$ npm install eslint-plugin-adventure-land --save-dev

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

Usage

  1. Add adventure-land to the plugins section of your .eslintrc configuration file. (You can omit the eslint-plugin- prefix.)
  2. Add adventure-land/api to the environments section of your .eslintrc configuration file.
{
    "plugins": [
        "adventure-land"
    ],
    "environments": {
        "adventure-land/api": true
    }
}

Sources

  1. Official Adventure Land MMORPG source code by Kaan Soral.
  2. Unofficial Adventure Land MMORPG code documentation by NexusNull.

About

Adventure Land MMORPG ESLint plugin adding a custom environment containing global game functions, classes, and variables.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published