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.
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.
- 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
}
}
- Official Adventure Land MMORPG source code by Kaan Soral.
- Unofficial Adventure Land MMORPG code documentation by NexusNull.