0.0.3 • Published 1 year ago

@kintone/eslint-plugin v0.0.3

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
1 year ago

@kintone/eslint-plugin

npm version Node.js version License: Apache 2.0

This plugin provide rules for kintone plugin development.

!WARNING Experimental: This package is still under early development.

Usage

npm i -D @kintone/eslint-plugin
// eslint.config.mjs
import kintoneESLintPlugin from "@kintone/eslint-plugin";

export default [kintoneESLintPlugin.configs.recommended];

By default, this plugin refers manifest.json of current directory. You can update this behavior by manifestFilePath in shared settings.

// eslint.config.mjs
import kintoneESLintPlugin from "@kintone/eslint-plugin";

export default [
  {
    settings: {
      "@kintone/eslint-plugin": { manifestFilePath: "path/to/manifest.json" },
    },
  },
  kintoneESLintPlugin.configs.recommended,
];

Rules

NameDescription
only-allowed-js-apiOnly allow the kintone JS APIs listed in permissions.js_api in manifest.

License

Apache 2.0

0.0.3

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago