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

office-addin-lint

Package Overview
Dependencies
Maintainers
1
Versions
76
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

office-addin-lint

Provide eslint and prettier integration

  • 2.3.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
19K
decreased by-8.42%
Maintainers
1
Weekly downloads
 
Created
Source

Office-Addin-Lint

Ensure code quality with lint rules and consistent code formatting.

Command-Line Interface

  • check
  • fix
  • prettier

check

Check the source code for problems.

Syntax:

office-addin-lint check [options]

Options:

--files <files>

Specify the files to check. Default: src/**/*.{ts,tsx,js,jsx}

fix

Apply fixes for problems found in the source code.

Syntax:

office-addin-lint fix [options]

Options:

--files <files>

Specify the files to fix. Default: src/**/*.{ts,tsx,js,jsx}

prettier

Make the source code prettier.

Syntax:

office-addin-lint prettier [options]

Options:

--files <files>

Specify the files to fix. Default: src/**/*.{ts,tsx,js,jsx}

Package installation

Steps to follow when installing the package and configuring for use.

Install the following packages:

npm install -D office-addin-lint

npm install -D office-addin-prettier-config

Add the following to package.json:

Under scripts add the following to enable the 3 actions:

    "lint": "office-addin-lint check",
    "lint:fix": "office-addin-lint fix",
    "prettier": "office-addin-lint prettier"`

At top level add the following to enable the prettier config:

    "prettier": "office-addin-prettier-config"

Keywords

FAQs

Package last updated on 27 Sep 2024

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