eslint-plugin-adventure-land

1.1.2 • Public • Published

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.

Dependencies (0)

    Dev Dependencies (4)

    Package Sidebar

    Install

    npm i eslint-plugin-adventure-land

    Weekly Downloads

    2

    Version

    1.1.2

    License

    MIT

    Unpacked Size

    8.52 kB

    Total Files

    5

    Last publish

    Collaborators

    • davidtimmons