Skip to content

Commit 54e6d37

Browse files
committed
resolve custom lint and mdx resolution
1 parent df3e083 commit 54e6d37

4 files changed

Lines changed: 16 additions & 9 deletions

File tree

apps/site/eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ export default tseslint.config(
3939
},
4040
{
4141
files: ['**/*.{md,mdx}'],
42-
extends: [mdx.configs.flat],
42+
extends: [mdx.flat],
4343
rules: {
4444
'no-irregular-whitespace': 'off',
4545
'@next/next/no-img-element': 'off',

apps/site/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@
7979
"cross-env": "7.0.3",
8080
"eslint-config-next": "15.2.4",
8181
"eslint-import-resolver-typescript": "~4.3.1",
82-
"eslint-plugin-mdx": "~3.3.1",
82+
"eslint-plugin-mdx": "~3.4.0",
8383
"eslint-plugin-react": "~7.37.4",
8484
"eslint-plugin-react-hooks": "5.2.0",
8585
"global-jsdom": "^26.0.0",

packages/ui-components/package.json

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@
66
"Containers",
77
"Icons",
88
"styles",
9-
"types.ts"
9+
"types.ts",
10+
"stylelint"
1011
],
1112
"exports": {
1213
"./Common/*": "./Common/*",
@@ -16,7 +17,8 @@
1617
"./Icons/*": "./Icons/*",
1718
"./Icons/*/*": "./Icons/*/*",
1819
"./styles/*": "./styles/*",
19-
"./types": "./types.ts"
20+
"./types": "./types.ts",
21+
"./stylelint/*": "./stylelint/*"
2022
},
2123
"scripts": {
2224
"build": "tsc --declaration --emitDeclarationOnly",

pnpm-lock.yaml

Lines changed: 10 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)