Numerous Problems Multiplied
Have ideas to improve npm?Join in the discussion! »

eslint-plugin-suitescript

1.2.1 • Public • Published

License npm CI

eslint-plugin-suitescript

NetSuite SuiteScript v1/v2 linting rules for ESLint

Installation

Local installation is highly recommended. First install ESLint:

$ npm install eslint --save-dev

Then install the plugin:

$ npm install eslint-plugin-suitescript --save-dev

Configuration

Add "suitescript" to the plugins section of your ESLint config file.

"plugins": ["suitescript"]

Enable the rules that you would like to use.

"rules": {
  "suitescript/script-type": "error",
  "suitescript/no-log-module": "error",
}

Or use a predefined setting for quick setup (choose one).

// All available rules
"extends": ["plugin:suitescript/all"]

// Just the recommended rules
"extends": ["plugin:suitescript/recommended"]

List of supported rules

License

eslint-plugin-suitescript is licensed under the MIT License.

Install

npm i eslint-plugin-suitescript

DownloadsWeekly Downloads

291

Version

1.2.1

License

MIT

Unpacked Size

40.5 kB

Total Files

21

Last publish

Collaborators

  • avatar