diff --git a/packages/visualizations/.eslintrc.js b/packages/visualizations/.eslintrc.js index a38f04f7..6711e49a 100644 --- a/packages/visualizations/.eslintrc.js +++ b/packages/visualizations/.eslintrc.js @@ -19,7 +19,7 @@ module.exports = { extraFileExtensions: ['.svelte'], tsconfigRootDir: __dirname, }, - plugins: ['@typescript-eslint', 'prettier'], + plugins: ['svelte', '@typescript-eslint', 'prettier'], overrides: [ { files: ['*.svelte'], @@ -37,9 +37,6 @@ module.exports = { }, }, ], - settings: { - 'svelte3/typescript': true, - }, rules: { semi: ['error', 'always'], '@typescript-eslint/semi': ['error', 'always'], @@ -67,21 +64,6 @@ module.exports = { ], }, ], - 'object-curly-newline': [ - 'error', - { - ObjectExpression: { - minProperties: 6, - multiline: true, - consistent: true, - }, - ObjectPattern: { - minProperties: 6, - multiline: true, - consistent: true, - }, - }, - ], 'import/no-named-as-default': 'off', 'class-methods-use-this': 'off', // False positives with abstract methods }, diff --git a/packages/visualizations/src/components/Table/Table.svelte b/packages/visualizations/src/components/Table/Table.svelte index ca1bc963..d8d3d288 100644 --- a/packages/visualizations/src/components/Table/Table.svelte +++ b/packages/visualizations/src/components/Table/Table.svelte @@ -18,16 +18,7 @@ const tableId = `table-${generateId()}`; $: ({ value: records } = data); - $: ({ - columns, - title, - subtitle, - description, - source, - unstyled, - locale, - pagination, - } = options); + $: ({ columns, title, subtitle, description, source, unstyled, locale, pagination } = options); $: defaultStyle = !unstyled; $: updateLocale(locale); /* Preserves paginations controls positioning