eslint-plugin-suitescript

1.3.1 • Public • Published

License npm CI

eslint-plugin-suitescript

NetSuite SuiteScript v1/v2 linting rules for ESLint

Installation

Installation per project is highly recommended:

$ npm i -D eslint eslint-plugin-suitescript

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.

/eslint-plugin-suitescript/

    Package Sidebar

    Install

    npm i eslint-plugin-suitescript

    Weekly Downloads

    836

    Version

    1.3.1

    License

    MIT

    Unpacked Size

    40.9 kB

    Total Files

    20

    Last publish

    Collaborators

    • acdvs