Skip to content

Commit

Permalink
Yarn lint fixes (#999)
Browse files Browse the repository at this point in the history
Co-authored-by: Scott Weber <[email protected]>
  • Loading branch information
nichia and line47 authored Apr 14, 2021
1 parent 244a88e commit 8033779
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion examples/child-design-system/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
// Equivalent to `alias` in webpack's resolve config. https://webpack.js.org/configuration/resolve/#resolvealias
"baseUrl": ".",
"paths": {
"@design-system/*": ["*"],
"@design-system/*": ["*"]
}
}
}
2 changes: 1 addition & 1 deletion guides/GOVERNANCE.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
See our governance process in Confluence
See our governance process in Confluence
https://confluence.cms.gov/display/HCDSG/Governance
4 changes: 1 addition & 3 deletions lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,7 @@
}
},
"npmClient": "yarn",
"packages": [
"packages/*"
],
"packages": ["packages/*"],
"ignoreChanges": [
"packages/stylelint-config-design-system/**",
"packages/eslint-config-design-system/**"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,12 @@ interface InlineErrorProps {
inversed?: boolean;
}

export function InlineError({ children, className, id, inversed }: InlineErrorProps): React.ReactElement {
export function InlineError({
children,
className,
id,
inversed,
}: InlineErrorProps): React.ReactElement {
const classes = classNames(
'ds-c-field__error-message',
{ 'ds-c-field__error-message--inverse': inversed },
Expand Down
2 changes: 1 addition & 1 deletion packages/design-system/src/components/flags.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
type errorPlacementValue = 'top' | 'bottom';
interface flagsType {
ERROR_PLACEMENT_DEFAULT: errorPlacementValue
ERROR_PLACEMENT_DEFAULT: errorPlacementValue;
}

// featureFlags.js
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"baseUrl": ".",
// Allows `*.example.tsx` files in `docs` to import directly from the design system source root
"paths": {
"@design-system/*": ["*"],
"@design-system/*": ["*"]
}
}
}

0 comments on commit 8033779

Please sign in to comment.