0.3.7 ⢠Published 10 months ago
@microsoft/eslint-plugin-power-apps v0.3.7
eslint-plugin-microsoft-power-apps
ESLint rules for Microsoft Power Apps web resources
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install @microsoft/eslint-plugin-power-apps:
$ npm install @microsoft/eslint-plugin-power-apps --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install @microsoft/eslint-plugin-power-apps globally.
Usage
Add @microsoft/power-apps to the plugins section of your eslint.config.js configuration file:
import microsoftPowerApps from "@microsoft/eslint-plugin-power-apps";
export default [
{
plugins:
{
"@microsoft/power-apps": microsoftPowerApps,
}
}
];Then configure the rules you want to use under the rules section:
{
"rules": {
"@microsoft/power-apps/rule-name": "error"
}
}Supported Rules
š§ = has fix,š” = has suggestion