Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

15549487: Bump prettier from 2.8.8 to 3.0.1 #84

Merged
merged 2 commits into from
Aug 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,18 +14,18 @@
"electron": "^25.0.1",
"eslint": "^8.43.0",
"eslint-config-ftgp": "^2.1.1",
"eslint-config-prettier": "^8.8.0",
"eslint-config-prettier": "^8.10.0",
"eslint-import-resolver-webpack": "^0.13.2",
"eslint-plugin-import": "^2.28.0",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-prettier": "^5.0.0",
"eslint-plugin-sort-class-members": "^1.18.0",
"jasmine": "^4.5.0",
"karma": "^6.4.2",
"karma-electron": "^7.3.0",
"karma-electron-launcher": "^0.3.0",
"karma-jasmine": "^5.1.0",
"karma-webpack": "^5.0.0",
"prettier": "^2.8.8",
"prettier": "^3.0.1",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
}
Expand Down
10 changes: 5 additions & 5 deletions src/event.js
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export default function event(spec, my) {
function that(callback) {
// eslint-disable-next-line no-console
console.warn(
"Using an event as a function is deprecated. Send register() to the event instead."
"Using an event as a function is deprecated. Send register() to the event instead.",
);

return that.register(callback);
Expand All @@ -33,7 +33,7 @@ export default function event(spec, my) {
that.on = function (callback) {
// eslint-disable-next-line no-console
console.warn(
"Sending on() to an event is deprecated. Send register() instead."
"Sending on() to an event is deprecated. Send register() instead.",
);

return that.register(callback);
Expand Down Expand Up @@ -128,7 +128,7 @@ export default function event(spec, my) {
that.onceOn = function (callback) {
// eslint-disable-next-line no-console
console.warn(
"Sending onceOn() to an event is deprecated. Send registerOnce() instead."
"Sending onceOn() to an event is deprecated. Send registerOnce() instead.",
);

return that.registerOnce(callback);
Expand Down Expand Up @@ -161,7 +161,7 @@ export default function event(spec, my) {
that.off = function (binding) {
// eslint-disable-next-line no-console
console.warn(
"Sending off() to an event is deprecated. Send unregister() instead."
"Sending off() to an event is deprecated. Send unregister() instead.",
);

that.unregister(binding);
Expand Down Expand Up @@ -222,7 +222,7 @@ export default function event(spec, my) {
*/
function bindCallback(callback) {
let binding = bindings.filter((binding) =>
binding.isForCallback(callback)
binding.isForCallback(callback),
)[0];

// Don't register the same callback twice:
Expand Down
6 changes: 3 additions & 3 deletions src/eventCategory.js
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export default function eventCategory() {
that.on = function (name, callback) {
// eslint-disable-next-line no-console
console.warn(
"Sending on() to a category is deprecated. Send register() instead."
"Sending on() to a category is deprecated. Send register() instead.",
);

return that.register(name, callback);
Expand All @@ -68,7 +68,7 @@ export default function eventCategory() {
that.off = function (name, binding) {
// eslint-disable-next-line no-console
console.warn(
"Sending off() to a category is deprecated. Send unregister() instead."
"Sending off() to a category is deprecated. Send unregister() instead.",
);

return that.unregister(name, binding);
Expand All @@ -94,7 +94,7 @@ export default function eventCategory() {
that.onceOn = function (name, callback) {
// eslint-disable-next-line no-console
console.warn(
"Sending onceOn() to a category is deprecated. Send registerOnce() instead."
"Sending onceOn() to a category is deprecated. Send registerOnce() instead.",
);

return that.registerOnce(name, callback);
Expand Down