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-landto the plugins section of your.eslintrcconfiguration file. (You can omit theeslint-plugin-prefix.) - Add
adventure-land/apito the environments section of your.eslintrcconfiguration 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.