Outlook_Addin_LLM/node_modules/eslint-plugin-office-addins
2024-11-29 21:36:41 +01:00
..
lib First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
node_modules First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
src First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
test/rules First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
.eslintrc.json First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
jest.config.js First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
LICENSE First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
package.json First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
README.md First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00
tsconfig.json First version with simple frontend and Compose Email by AI 2024-11-29 21:36:41 +01:00

eslint-plugin-office-addins

eslint plugin for office-addins

Installation

This plugin is designed to work with the office-addin-lint package.

Install office-addin-lint

$ npm i office-addin-lint --save-dev

Next, install eslint-plugin-office-addins:

$ npm install eslint-plugin-office-addins --save-dev

Usage

Add office-addins to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "office-addins"
    ]
}

Then configure the extended property by choosing one of the configurations for the plugin.

{
    "extended": [
        "plugin:office-addins/recommended"
    ]
}

Other configurations available:
    "plugin:office-addins/react",
    "plugin:office-addins/reactnative"