Skip to content

Latest commit

 

History

History
45 lines (32 loc) · 840 Bytes

README.md

File metadata and controls

45 lines (32 loc) · 840 Bytes

eslint-plugin-agpl

Travis status

Eslint rules for AGPL

Installation

Install ESLint either locally or globally

npm install eslint

If you installed Eslint globally, you have to install eslint-plugin-agpl plugin globally too. Otherwise, install it locally.

npm install eslint-plugin-agpl

Configuration

Add plugins section and specify eslint-plugin-agpl as a plugin

{
  "plugins": [
    "agpl"
  ]
}

Finally, enable all of the rules that you would like to use.

{
  "rules": {
    "agpl/valid-license": [1, "2015 Arek Zajac"]
  }
}

license

eslint-plugin-smells is licensed under the MIT License.