Skip to content

Commit

Permalink
Disable new rule in demo
Browse files Browse the repository at this point in the history
  • Loading branch information
carbonrobot committed Nov 13, 2024
1 parent f534d36 commit b475b71
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
3 changes: 3 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,12 @@ export default tseslint.config(
ignores: [
"**/*.d.ts",
"**/.wireit/",
"**/.docusaurus/",
"**/artifacts/",
"**/coverage/",
"**/demo/rn/",
"**/dist/",
"**/build/",
"**/es/",
"**/lib/",
"**/lib-vendor/",
Expand Down Expand Up @@ -140,6 +142,7 @@ export default tseslint.config(
files: ["**/demo/**/*.{ts,tsx}"],
rules: {
"no-magic-numbers": "off",
"no-restricted-imports": "off",
"react/no-multi-comp": "off",
"@typescript-eslint/no-empty-object-type": "off",
},
Expand Down
5 changes: 4 additions & 1 deletion test/helpers/svg.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
import * as d3Scale from "victory-vendor/d3-scale";
import * as d3Shape from "victory-vendor/d3-shape";
import { _internalD3Voronoi as d3Voronoi } from "victory-voronoi/lib/helper-methods";
import { without, min, max, property } from "lodash";
import without from "lodash/without";
import min from "lodash/min";
import max from "lodash/max";
import property from "lodash/property";

const RECTANGULAR_SEQUENCE = ["M", "A", "L", "A", "L", "A", "L", "A", "z"];
const CIRCULAR_SEQUENCE = ["M", "m", "a", "a"];
Expand Down

0 comments on commit b475b71

Please sign in to comment.