Skip to content

Commit

Permalink
remove linting rule exception for markdown (elastic#54232)
Browse files Browse the repository at this point in the history
  • Loading branch information
flash1293 committed Jan 10, 2020
1 parent d95d799 commit 8d9d314
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 @@ -82,12 +82,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_table/**/*.{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 8d9d314

Please sign in to comment.