eslint-config-nebulas-contract
v0.0.6
Published
ESLint shareable config for the Nebulas smart contract style
Downloads
1
Maintainers
Readme
eslint-config-nebulas-contract
ESLint shareable config for the Nebulas smart contract style
Installation
$ npm install --save-dev eslint eslint-plugin-nebulas-contract eslint-config-nebulas-contract
Usage
Once the eslint-config-nebulas-contract
package is installed, you can use it by specifying nebulas-contract
in the extends
section of your ESLint configuration.
{
"extends": "nebulas-contract",
"rules": {
// Additional, per-project rules...
}
}
Using the nebulas-contract
config with eslint:recommended
There are several rules in the eslint:recommended
ruleset that Google style is not opinionated about that you might want to enforce in your project.
To use Google style in conjunction with ESLint's recommended rule set, extend them both, making sure to list google
last:
{
"extends": ["eslint:recommended", "nebulas-contract"],
"rules": {
// Additional, per-project rules...
}
}
MIT © yucopowo