Skip to content

Releases: acdvs/eslint-plugin-suitescript

v2.0.0

01 May 22:19
171a6c0

Choose a tag to compare

Breaking changes

  • Move to ESLint 9+ flat config format.
    • Require eslint@>=9 peer dependency.
  • Remove legacy .eslintrc-style configs.recommended and configs.all exports and environments API.
    • SuiteScript globals now exposed via flat config configs.suitescript1 and configs.suitescript2.
  • Enforce Node.js ^20.19.0 || ^22.13.0 || >=24 to match ESLint's engine range.

Changes

  • Allow arrow function as define callback in entry-points rule. (0d1ef3c)

Fixes

  • Fix module-vars and log-args crashes when define has more module literals than callback parameters. (2d6933a)

Thanks to @alegerber for the contribution!

v1.4.1

06 Jun 17:18

Choose a tag to compare

Changes

v1.4.0

22 May 09:27

Choose a tag to compare

Changes

  • Added N/llm, N/pgp, and N/scriptTypes/restlet modules (#21) by @michoelchaikin
  • Added CustomGLPlugin script type
  • Allow case-insensitive NScriptType values
  • Changed eslint peer dependency to >=5.0.0

v1.3.2

31 May 23:07

Choose a tag to compare

Changes

  • Added PluginTypeImpl script type

v.1.3.1

27 Dec 01:55

Choose a tag to compare

Changes

  • Add missing modules to index module definition (#14) by @tomo-local
  • Add missing entries to various exhaustive lists in docs

v1.3.0

11 Oct 01:17

Choose a tag to compare

Changes

  • Added fiParserPlugin script type (#10) by @michoelchaikin
  • Added N/compress, N/dataset, N/datasetLink modules (#12) by @tomo-local
  • Added N/recordContext module (#13) by @tomo-local
  • Added N/crypto/random, N/suiteAppInfo, N/workbook modules
  • Added bankConnectivityPlugin, datasetbuilderplugin, fiConnectivityPlugin, workbookbuilderplugin script types

v1.2.1

20 Jan 00:33

Choose a tag to compare

Changes

  • Added all and recommended extend options for easier plugin setup

v1.1.1

14 Jan 02:29

Choose a tag to compare

Changes

  • Added fixer to no-amd-name rule
  • Added allowInClientScripts option to no-log-module rule to allow prevention of N/log in client scripts
  • Clarified documentation of some rules

v1.1.0

11 Jan 16:11
883ba30

Choose a tag to compare

New rules

  • no-module-extensions rule to enforce no filename extensions on module dependencies (Michoel Chaikin)

Changes

v1.0.2

24 Dec 21:41
380e1e3

Choose a tag to compare

Changes

  • entry-points rule now allows object references to be returned
  • Updated list of SS1 globals