# eslint-plugin-nebulas

> smart contract lint rules

Latest version **0.0.7** (published 2018-09-28) · ISC license · 0 weekly downloads

## Install

```sh
npm install eslint-plugin-nebulas
pnpm add eslint-plugin-nebulas
yarn add eslint-plugin-nebulas
bun add eslint-plugin-nebulas
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.7 |
| Published | 2018-09-28 |
| First published | 2018-08-19 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=0.10.0 |
| Dependencies | 2 |
| Unpacked size | 55.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | newraina |
| Maintainers | newraina |
| Keywords | eslint, eslintplugin, eslint-plugin, nebulas, smart contract |

## Links

- npm: https://www.npmjs.com/package/eslint-plugin-nebulas
- npm.io page: https://npm.io/package/eslint-plugin-nebulas

## Dependencies (2)

- [babel-eslint](https://npm.io/package/babel-eslint.md) ^8.2.6
- [requireindex](https://npm.io/package/requireindex.md) ~1.1.0

## Alternatives

- [eslint-plugin-sonarjs](https://npm.io/package/eslint-plugin-sonarjs.md) — 2.9M weekly downloads
- [eslint-config-expo](https://npm.io/package/eslint-config-expo.md) — 1.5M weekly downloads
- [@matter/protocol](https://npm.io/package/@matter/protocol.md) — 63.5K weekly downloads
- [@eventcatalog/linter](https://npm.io/package/@eventcatalog/linter.md) — 24.8K weekly downloads
- [@pandacss/eslint-plugin](https://npm.io/package/@pandacss/eslint-plugin.md) — 18.7K weekly downloads

## Recent versions

- 0.0.7 (latest) — 2018-09-28
- 0.0.6 — 2018-09-28
- 0.0.5 — 2018-09-25
- 0.0.4 — 2018-08-30
- 0.0.3 — 2018-08-27
- 0.0.2 — 2018-08-19
- 0.0.1 — 2018-08-19

## README

# eslint-plugin-nebulas

smart contract lint rules

## Installation

You'll first need to install [ESLint](http://eslint.org):

```
$ yarn add -D eslint
```

Next, install `eslint-plugin-nebulas`:

```
$ yarn add -D eslint-plugin-nebulas
```

**Note:** If you installed ESLint globally (using the `-g` flag) then you must also install `eslint-plugin-nebulas` globally.

## Usage

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

```json
{
  "plugins": ["nebulas"]
}
```

Then configure the rules you want to use under the rules section.

```json
{
  "rules": {
    "nebulas/rule-name": 2
  }
}
```

## Supported Rules

- Ensure an export is a smart contract object ([export-contract](docs/rules/export-contract.md))
- Ensure an export is present ([export](docs/rules/export.md))
- Report unsupported third-party library ([limited-libs](docs/rules/limited-libs.md))
- Report ESM import calls and export ([no-esm](docs/rules/no-esm.md))

---
_Source: https://npm.io/package/eslint-plugin-nebulas · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
