FrameworkTemplate/SolutionTemplate/file.eslintrc.json
{
"parser": "@typescript-eslint/parser", "env": { "browser": true, "commonjs": true, "es6": true, "jest": true, "jasmine": true }, "extends": [ "plugin:@typescript-eslint/recommended", "plugin:prettier/recommended", "plugin:react/recommended", "prettier" ], "parserOptions": { "project": "**/tsconfig.json" }, "settings": { "react": { "pragma": "React", "version": "detect" } }, "plugins": [ "@typescript-eslint", "@microsoft/power-apps", "prettier" ], "rules": { "prettier/prettier": "error", "@typescript-eslint/no-explicit-any": "off", "@microsoft/power-apps/avoid-2011-api": "error", "@microsoft/power-apps/avoid-browser-specific-api": "error", "@microsoft/power-apps/avoid-crm2011-service-odata": "error", "@microsoft/power-apps/avoid-crm2011-service-soap": "error", "@microsoft/power-apps/avoid-dom-form-event": "error", "@microsoft/power-apps/avoid-dom-form": "error", "@microsoft/power-apps/avoid-isactivitytype": "error", "@microsoft/power-apps/avoid-modals": "error", "@microsoft/power-apps/avoid-unpub-api": "warn", "@microsoft/power-apps/avoid-ui-refreshribbon": "error", "@microsoft/power-apps/do-not-make-parent-assumption": "error", "@microsoft/power-apps/use-async": "error", "@microsoft/power-apps/use-cached-webresource": "error", "@microsoft/power-apps/use-client-context": "error", "@microsoft/power-apps/use-getsecurityroleprivilegesinfo": "error", "@microsoft/power-apps/use-global-context": "error", "@microsoft/power-apps/use-grid-api": "error", "@microsoft/power-apps/use-navigation-api": "error", "@microsoft/power-apps/use-offline": "error", "@microsoft/power-apps/use-org-setting": "error", "@microsoft/power-apps/use-relative-uri": "error", "@microsoft/power-apps/use-utility-dialogs": "error" }, "overrides": [ { "files": ["*.ts"], "rules": { "camelcase": [2, { "properties": "never" }] } } ] } |