Skip to content

Commit

Permalink
chore: fix some linting errors, avoid conflicts between prettier and …
Browse files Browse the repository at this point in the history
…eslint
  • Loading branch information
nathanielwarner committed Sep 5, 2024
1 parent 8da449a commit 03ec6d7
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 13 deletions.
3 changes: 2 additions & 1 deletion es-ds-components/components/es-popover.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ onMounted(() => {
const targetElement = document.getElementById(props.target);
if (targetElement) {
const triggers = props.triggers.split(' ').map((trigger) => (trigger === 'hover' ? 'mouseover' : trigger));
// eslint-disable-next-line no-restricted-syntax
for (const trigger of triggers) {
targetElement.addEventListener(trigger, showPanel);
}
Expand Down Expand Up @@ -68,7 +69,7 @@ watch(
<overlay-panel
ref="op"
:dismissable="true"
appendTo="body"
append-to="body"
:pt="{
root: {
class: `popover b-popover ${props.variant === 'light' ? 'es-popover-light' : 'es-popover-dark'}`,
Expand Down
8 changes: 0 additions & 8 deletions es-ds-docs/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,6 @@
"camelcase": "off",
"no-console": "warn",
"indent": "off",
"max-len": [
"warn",
{
"code": 119,
"ignorePattern": "class=|d=|points=",
"ignoreUrls": true
}
],
"vue/html-closing-bracket-spacing": [
"error",
{
Expand Down
6 changes: 2 additions & 4 deletions es-ds-docs/pages/atoms/typography.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,8 @@
import sassHeadingFontSizesDesktop from '@energysage/es-ds-styles/scss/modules/heading-font-sizes-desktop.module.scss';
import sassHeadingFontSizesMobile from '@energysage/es-ds-styles/scss/modules/heading-font-sizes-mobile.module.scss';
import sassHeadingGeneral from '@energysage/es-ds-styles/scss/modules/heading-general.module.scss';
import sassHeadingLineHeightsDesktop from
'@energysage/es-ds-styles/scss/modules/heading-line-heights-desktop.module.scss';
import sassHeadingLineHeightsMobile from
'@energysage/es-ds-styles/scss/modules/heading-line-heights-mobile.module.scss';
import sassHeadingLineHeightsDesktop from '@energysage/es-ds-styles/scss/modules/heading-line-heights-desktop.module.scss';
import sassHeadingLineHeightsMobile from '@energysage/es-ds-styles/scss/modules/heading-line-heights-mobile.module.scss';
import sassHeadingEyebrow from '@energysage/es-ds-styles/scss/modules/heading-eyebrow.module.scss';
import sassFontSizes from '@energysage/es-ds-styles/scss/modules/font-sizes.module.scss';
import sassFontWeights from '@energysage/es-ds-styles/scss/modules/font-weights.module.scss';
Expand Down

0 comments on commit 03ec6d7

Please sign in to comment.