Skip to content

Commit bb071b9

Browse files
committed
chore(lint): support linting and formatting
1 parent 54e6d37 commit bb071b9

4 files changed

Lines changed: 36 additions & 3 deletions

File tree

apps/site/hooks/react-generic/useSiteNavigation.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,14 @@ import type { RichTranslationValues } from 'next-intl';
22
import { useTranslations } from 'next-intl';
33
import type { HTMLAttributeAnchorTarget } from 'react';
44

5-
import { siteNavigation } from '../../next.json.mjs';
65
import type {
76
FormattedMessage,
87
NavigationEntry,
98
NavigationKeys,
109
} from '@/types';
1110

11+
import { siteNavigation } from '../../next.json.mjs';
12+
1213
type Context = Record<string, RichTranslationValues>;
1314
type Navigation = Record<string, NavigationEntry>;
1415

apps/site/package.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -86,6 +86,15 @@
8686
"handlebars": "4.7.8",
8787
"jsdom": "^26.0.0",
8888
"remark-frontmatter": "5.0.0",
89+
"remark-lint-fenced-code-flag": "^4.2.0",
90+
"remark-lint-first-heading-level": "^4.0.1",
91+
"remark-lint-maximum-line-length": "^4.1.1",
92+
"remark-lint-no-file-name-articles": "^3.0.1",
93+
"remark-lint-no-literal-urls": "^4.0.1",
94+
"remark-lint-no-undefined-references": "^5.0.2",
95+
"remark-lint-no-unused-definitions": "^4.0.2",
96+
"remark-lint-prohibited-strings": "^4.0.0",
97+
"remark-lint-unordered-list-marker-style": "^4.0.1",
8998
"remark-parse": "11.0.0",
9099
"remark-preset-lint-node": "5.1.2",
91100
"stylelint": "16.17.0",

packages/ui-components/eslint.config.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ import react from 'eslint-plugin-react';
33
import storybook from 'eslint-plugin-storybook';
44
import tseslint from 'typescript-eslint';
55

6-
// eslint-disable-next-line no-relative-import-paths/no-relative-import-paths
76
import baseConfig from '../../eslint.config.js';
87

98
export default tseslint.config(

pnpm-lock.yaml

Lines changed: 25 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)