0.0.6 • Published 6 years ago

eslint-config-nebulas-contract v0.0.6

Weekly downloads
1
License
MIT
Repository
github
Last release
6 years ago

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

0.0.6

6 years ago

0.0.5

6 years ago

0.0.4

6 years ago

0.0.3

6 years ago

0.0.2

6 years ago

0.0.1

6 years ago