Skip to content

Commit

Permalink
[lint] Adds no-console rule
Browse files Browse the repository at this point in the history
  • Loading branch information
jacomyal committed Mar 27, 2024
1 parent 17c849c commit ab93c16
Show file tree
Hide file tree
Showing 4 changed files with 2 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .eslintrc
Expand Up @@ -15,8 +15,8 @@
"plugin:storybook/recommended"
],
"rules": {
"no-unused-vars": "off",
"no-prototype-builtins": "off",
"no-console": "warn",
"import/extensions": [
"warn",
"never",
Expand Down
5 changes: 1 addition & 4 deletions packages/storybook/stories/large-graphs/stories.ts
Expand Up @@ -46,10 +46,7 @@ type Story = StoryObj<StoryArgs>;

export const story: Story = {
name: "Performances showcase",
render: (args) => {
console.log("template", args);
return template;
},
render: () => template,
play,
args: {
order: 5000,
Expand Down
1 change: 0 additions & 1 deletion packages/test/app/index.ts
Expand Up @@ -73,7 +73,6 @@ const dependencies: BrowserTestDependencies = {
rafNTimes,
};

console.log("GLOBALIZE DEPENDENCIES");
globalize({
dependencies,
});
2 changes: 0 additions & 2 deletions packages/test/unit/utils.ts
Expand Up @@ -7,8 +7,6 @@ import { describe, expect, test } from "vitest";

describe("validateGraph utils", () => {
test("it should work on a valid graph", () => {
console.log("window", typeof window.document.getElementById);

// Create a valid random graph
const graph = erdosRenyi(UndirectedGraph, { order: 100, probability: 0.2 });
randomLayout.assign(graph);
Expand Down

0 comments on commit ab93c16

Please sign in to comment.