0.1.0 ā€¢ Published 2 years ago

@microsoft/eslint-plugin-power-apps_test v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
2 years ago

eslint-plugin-microsoft-power-apps

Rules for Microsoft PowerApps Advisor

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install @microsoft/eslint-plugin-power-apps:

$ npm install @microsoft/eslint-plugin-power-apps --save-dev

Note: 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 .eslintrc configuration file:

{
    "plugins": [
        "@microsoft/power-apps"
    ]
}

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

{
    "rules": {
        "@microsoft/power-apps": "error"
    }
}

Supported Rules

šŸ”§ = has fix,šŸ’” = has suggestion

RulešŸ”§šŸ’”
web-avoid-2011-apišŸ’”
web-avoid-browser-specific-apišŸ’”
web-avoid-crm2011-service-odata
web-avoid-crm2011-service-soap
web-avoid-dom-form-event
web-avoid-dom-form
web-avoid-isactivitytypešŸ’”
web-avoid-modals
web-avoid-unpub-api
web-avoid-window-top
web-do-not-make-parent-assumption
web-use-async
web-use-cached-webresource
web-use-client-contextšŸ’”
web-use-global-contextšŸ’”
web-use-grid-apišŸ’”
web-use-navigation-apišŸ’”
web-use-offlinešŸ’”
web-use-org-settingšŸ’”
web-use-relative-urišŸ”§šŸ’”
web-use-utility-dialogsšŸ’”