Skip to content

Commit

Permalink
Fix lint warnings (#2686)
Browse files Browse the repository at this point in the history
  • Loading branch information
Semigradsky committed Oct 16, 2021
1 parent 4730729 commit 555c0c8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
7 changes: 6 additions & 1 deletion .eslintrc
Expand Up @@ -28,7 +28,7 @@
"tabWidth": 2,
"useTabs": false,
"trailingComma": "all",
"arrowParens": "avoid",
"arrowParens": "avoid"
}
],
"import/extensions": "off",
Expand Down Expand Up @@ -95,6 +95,11 @@
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/explicit-module-boundary-types": "off",
"@typescript-eslint/ban-types": "off",
"@typescript-eslint/no-unused-vars": ["error", {
"args": "after-used",
"ignoreRestSiblings": true,
"argsIgnorePattern": "^_"
}]
},
"settings": {
"import/resolver": {
Expand Down
1 change: 0 additions & 1 deletion src/chart/generateCategoricalChart.tsx
Expand Up @@ -1751,7 +1751,6 @@ export const generateCategoricalChart = ({
const radiusAxis = getAnyElementOfObject(radiusAxisMap);
const angleAxis = getAnyElementOfObject(angleAxisMap);
const { cx, cy, innerRadius, outerRadius } = angleAxis;
const props = element.props || {};

return cloneElement(element, {
polarAngles: isArray(polarAngles)
Expand Down

0 comments on commit 555c0c8

Please sign in to comment.