0.1.1 • Published 6 years ago

eslint-plugin-oic v0.1.1

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

eslint-plugin-oic

Oracle Integration Cloud rules for ESLint

Installation

Install ESLint.

npm install eslint --save-dev

Then install this plugin.

npm install eslint-plugin-oic --save-dev

Configuration

Use the oic/recommended preset to get reasonable defaults:

{
  "extends": [
    "plugin/oic:recommended"
  ]
}

To configure rules manually, first add oic to the plugins section of your .eslintrc configuration file.

{
  "plugins": [
    "oic"
  ]
}

Then configure the rules you would like to use in the rules section.

{
  "rules": {
    "oic/return-var": "error"
  }
}

Supported Rules

Presets

This plugin provides a oic/recommended preset which enables the following rules:

License

MIT

0.1.1

6 years ago

0.1.0

6 years ago