1.2.1 • Published 2 years ago

eslint-plugin-suitescript v1.2.1

Weekly downloads
153
License
MIT
Repository
github
Last release
2 years ago

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.

1.2.1

2 years ago

1.1.1

2 years ago

1.1.0

2 years ago

1.0.3

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.0

2 years ago

0.1.1

7 years ago

0.1.0

7 years ago