Skip to content

Commit

Permalink
Updated most lint packages (and made one whitespace change to clipboa…
Browse files Browse the repository at this point in the history
…rd.ts) (#2372)

* Update lint stuff

* Update more lint packages

* changefile
  • Loading branch information
AE-MS authored Jun 24, 2024
1 parent ab86a13 commit f362dba
Show file tree
Hide file tree
Showing 4 changed files with 312 additions and 323 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "Updated whitespace in `clipboard.ts` file to match conventions",
"packageName": "@microsoft/teams-js",
"email": "[email protected]",
"dependentChangeType": "patch"
}
20 changes: 10 additions & 10 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,9 @@
"@babel/preset-react": "^7.24.1",
"@babel/preset-typescript": "^7.24.1",
"@babel/runtime": "^7.24.4",
"@microsoft/eslint-plugin-sdl": "^0.1.9",
"@microsoft/eslint-plugin-sdl": "^0.2.2",
"@mixer/webpack-bundle-compare": "^0.1.1",
"@next/eslint-plugin-next": "^13.5.6",
"@next/eslint-plugin-next": "^14.2.4",
"@octokit/core": "^3.6.0",
"@types/fs-extra": "^9.0.13",
"@types/jest": "^27.5.2",
Expand All @@ -52,24 +52,24 @@
"@types/react": "^17.0.80",
"@types/react-dom": "^17.0.25",
"@types/webpack": "^5.28.5",
"@typescript-eslint/eslint-plugin": "^6.21.0",
"@typescript-eslint/parser": "^6.21.0",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"babel-loader": "^9.1.3",
"beachball": "^2.43.0",
"copy-webpack-plugin": "9.1.0",
"cross-env": "^7.0.3",
"css-loader": "^6.11.0",
"del": "2.2.2",
"dts-bundle-webpack": "^1.0.2",
"eslint": "^7.32.0",
"eslint-config-prettier": "^8.10.0",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-only-error": "^1.0.2",
"eslint-plugin-prettier": "^3.4.1",
"eslint-plugin-react": "^7.34.1",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-security": "^1.7.1",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-react": "^7.34.3",
"eslint-plugin-react-hooks": "^4.6.2",
"eslint-plugin-security": "^3.0.1",
"eslint-plugin-simple-import-sort": "^12.1.0",
"eslint-plugin-strict-null-checks": "^0.1.2",
"filemanager-webpack-plugin": "^8.0.0",
"fs-extra": "^9.1.0",
Expand Down
4 changes: 3 additions & 1 deletion packages/teams-js/src/public/clipboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,9 @@ export namespace clipboard {
if (GlobalVars.isFramelessWindow) {
return ensureInitialized(runtime) && runtime.supports.clipboard ? true : false;
} else {
return ensureInitialized(runtime) && navigator && navigator.clipboard && runtime.supports.clipboard ? true : false;
return ensureInitialized(runtime) && navigator && navigator.clipboard && runtime.supports.clipboard
? true
: false;
}
}
}
Loading

0 comments on commit f362dba

Please sign in to comment.