Skip to content

Files

Latest commit

 

History

History

eslint-plugin-teamsfx

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

@microsoft/eslint-plugin-teamsfx

customized eslint plugins, rules & processors for teamsfx

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install @microsoft/eslint-plugin-teamsfx:

npm install @microsoft/eslint-plugin-teamsfx --save-dev

Usage

Add @microsoft/eslint-plugin-teamsfx to the plugins section of your .eslintrc configuration file:

{
  "plugins": ["@microsoft/eslint-plugin-teamsfx"]
}

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

{
  "rules": {
    "@microsoft/teamsfx/jsdoc-author": ["error"]
  }
}

Supported Rules

  • jsdoc-author