Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-excel-custom-functions

Package Overview
Dependencies
Maintainers
1
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-excel-custom-functions

ESLint rules that report usage of Office Api Code in Shared App

  • 0.2.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
6
increased by20%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-plugin-excel-custom-functions

This eslint plugin checks for Office.js api calls within custom functions. It throws a linting error on write operations and a linting warning on read operations.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-excel-custom-functions:

$ npm install eslint-plugin-excel-custom-functions --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-excel-custom-functions globally.

Usage

Add excel-custom-functions to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "excel-custom-functions"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "excel-custom-functions/no-office-read-calls": "warn",
        "excel-custom-functions/no-office-write-calls": "error"
    }
}

Supported Rules

  • no-office-read-calls
  • no-office-write-calls

FAQs

Package last updated on 26 Oct 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc