diff --git a/samples/react-group-membership-manager/.eslintrc.js b/samples/react-group-membership-manager/.eslintrc.js index 6ebb2a10f..b43f099ad 100644 --- a/samples/react-group-membership-manager/.eslintrc.js +++ b/samples/react-group-membership-manager/.eslintrc.js @@ -2,6 +2,12 @@ require('@rushstack/eslint-config/patch/modern-module-resolution'); module.exports = { extends: ['@microsoft/eslint-config-spfx/lib/profiles/react'], parserOptions: { tsconfigRootDir: __dirname }, + env: { + "browser": true, + "es2018": true, + "node": true, + "amd": true + }, overrides: [ { files: ['*.ts', '*.tsx'], diff --git a/samples/react-group-membership-manager/README.md b/samples/react-group-membership-manager/README.md index 85b9f34ac..35dbf1d6a 100644 --- a/samples/react-group-membership-manager/README.md +++ b/samples/react-group-membership-manager/README.md @@ -4,7 +4,7 @@ This app is an example of managing the membership of a group you own including the owners of the group as well as using FluentUI v9 -![Screenshot](assets/screenshot.png "Screenshot") +![Screenshot](assets/group-membership-manager.gif "Screenshot") ## Compatibility diff --git a/samples/react-group-membership-manager/assets/group-membership-manager.gif b/samples/react-group-membership-manager/assets/group-membership-manager.gif new file mode 100644 index 000000000..f7207e264 Binary files /dev/null and b/samples/react-group-membership-manager/assets/group-membership-manager.gif differ diff --git a/samples/react-group-membership-manager/tsconfig.json b/samples/react-group-membership-manager/tsconfig.json index cb3c4af63..c6085c68d 100644 --- a/samples/react-group-membership-manager/tsconfig.json +++ b/samples/react-group-membership-manager/tsconfig.json @@ -1,10 +1,10 @@ { "extends": "./node_modules/@microsoft/rush-stack-compiler-4.5/includes/tsconfig-web.json", "compilerOptions": { - "target": "es5", + "target": "ES2018", "forceConsistentCasingInFileNames": true, "module": "esnext", - "moduleResolution": "node", + "moduleResolution": "Node", "jsx": "react", "declaration": true, "sourceMap": true, @@ -24,10 +24,9 @@ "webpack-env" ], "lib": [ - "es5", + "ES2018", "dom", - "es2015.collection", - "es2015.promise" + "es2018.promise" ] }, "include": [