@kopanowebapp/eslint-config

1.1.2 • Public • Published

@kopanowebapp/eslint-config

This package contains the eslint configuration for development on Kopano WebApp and its plugins.

Installation

Note: This documentation assumes that you have created a package.json file in your plugin's root directory, and that you have node and npm installed

Install this package in your plugin by running the following command in your plugin's root folder:

npm install --save-dev @kopanowebapp/eslint-config

After installing the package, you should run

npx eslint-config init

A file called .eslintrc will be copied to the root directory of your plugin. It will be used to lint the javascript files of your plugin. A script called kwp:eslint will be added to the package.json file of your plugin. Your source code can now be linted running npm run kwp:eslint.

create-webapp-plugin

We strongly encourage you to not use this package directly but instead bootstrap your plugin by installing @kopanowebapp/create-webapp-plugin.

Package Sidebar

Install

npm i @kopanowebapp/eslint-config

Weekly Downloads

3

Version

1.1.2

License

AGPL-3.0

Unpacked Size

202 kB

Total Files

10

Last publish

Collaborators

  • rotous