MicrosoftLearning / PL-400_Microsoft-Power-Platform-Developer

https://microsoftlearning.github.io/PL-400_Microsoft-Power-Platform-Developer/
MIT License
170 stars 117 forks source link

Lab 9 needs an update, many changes required for the PCF component to work - .ESLINTRC.JSON #124

Closed RobertRybaric closed 5 months ago

RobertRybaric commented 6 months ago

The file .eslintrc.json needs to be like this in order for the NPM BUILD to work:

{ "env": { "browser": true, "es2020": true }, "extends": [ "eslint:recommended", "plugin:@typescript-eslint/recommended" ], "globals": { "ComponentFramework": true }, "parser": "@typescript-eslint/parser", "parserOptions": { "ecmaVersion": 12, "sourceType": "module" }, "plugins": [ "@microsoft/power-apps", "@typescript-eslint" ], "rules": { "@typescript-eslint/no-unused-vars": "off", "@typescript-eslint/no-var-requires": "off", "@typescript-eslint/no-explicit-any": "off", "no-unused-vars": "off", "no-undef" : "off" } }

julians1966 commented 5 months ago

Checked and confirmed

julians1966 commented 5 months ago

Closed by #140