Skip to content

RiftLurker/eslint-plugin-screeps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-screeps

globals of the game screeps

Installation

You'll first need to install ESLint:

$ npm install eslint --save-dev

Next, install eslint-plugin-screeps:

$ npm install eslint-plugin-screeps --save-dev

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

Usage

Add screeps to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "screeps"
    ]
}

Add screeps/screeps to the env section of your .eslintrc configuration file.

{
    "env": {
        "screeps/screeps": true
    }
}

About

globals of the game screeps

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •