Eslint rules for AGPL
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
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"]
}
}
eslint-plugin-smells is licensed under the MIT License.