Skip to content

Commit

Permalink
remove linting rule exception for markdown
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Jan 8, 2020
1 parent 8eb000d commit 2098b63
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -95,12 +95,6 @@ module.exports = {
'react-hooks/exhaustive-deps': 'off',
},
},
{
files: ['src/legacy/core_plugins/vis_type_markdown/**/*.{js,ts,tsx}'],
rules: {
'react-hooks/exhaustive-deps': 'off',
},
},
{
files: ['src/legacy/core_plugins/vis_type_metric/**/*.{js,ts,tsx}'],
rules: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ import { MarkdownVisParams } from './types';
function MarkdownOptions({ stateParams, setValue }: VisOptionsProps<MarkdownVisParams>) {
const onMarkdownUpdate = useCallback(
(value: MarkdownVisParams['markdown']) => setValue('markdown', value),
[]
[setValue]
);

return (
Expand Down

0 comments on commit 2098b63

Please sign in to comment.