eslint-plugin-adventure-land
v1.1.2
Published
Adventure Land MMORPG ESLint plugin adding a custom environment containing global game functions, classes, and variables.
Downloads
18
Maintainers
Readme
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
- Add
adventure-land
to the plugins section of your.eslintrc
configuration file. (You can omit theeslint-plugin-
prefix.) - Add
adventure-land/api
to the environments section of your.eslintrc
configuration file.
{
"plugins": [
"adventure-land"
],
"environments": {
"adventure-land/api": true
}
}
Sources
- Official Adventure Land MMORPG source code by Kaan Soral.
- Unofficial Adventure Land MMORPG code documentation by NexusNull.