Skip to content

Commit 18573d3

Browse files
committed
Merge branch 'main' into test/add-landing-snapshot
2 parents 846e2fd + 538afa9 commit 18573d3

File tree

8 files changed

+62
-51
lines changed

8 files changed

+62
-51
lines changed

.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

.eslintrc.json

Lines changed: 0 additions & 41 deletions
This file was deleted.

apps/cookbook/.eslintignore

Lines changed: 0 additions & 1 deletion
This file was deleted.

apps/cookbook/eslint.config.js

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
const baseConfig = require('../../eslint.config.js');
2+
const nx = require('@nx/eslint-plugin');
3+
const playwright = require('eslint-plugin-playwright');
4+
5+
console.log();
6+
7+
module.exports = [
8+
...baseConfig,
9+
...nx.configs['flat/react'],
10+
{
11+
ignores: ['.docusaurus'],
12+
},
13+
{
14+
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
15+
// Override or add rules here
16+
rules: {},
17+
},
18+
{
19+
...playwright.configs['flat/recommended'],
20+
files: ['e2e/**/*.ts'],
21+
},
22+
];

bun.lockb

9.2 KB
Binary file not shown.

eslint.config.js

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
const nx = require('@nx/eslint-plugin');
2+
3+
module.exports = [
4+
...nx.configs['flat/base'],
5+
...nx.configs['flat/typescript'],
6+
...nx.configs['flat/javascript'],
7+
{
8+
ignores: ['**/dist'],
9+
},
10+
{
11+
files: ['**/*.ts', '**/*.tsx', '**/*.js', '**/*.jsx'],
12+
rules: {
13+
'@nx/enforce-module-boundaries': [
14+
'error',
15+
{
16+
enforceBuildableLibDependency: true,
17+
allow: ['^.*/eslint(\\.base)?\\.config\\.[cm]?js$'],
18+
depConstraints: [
19+
{
20+
sourceTag: '*',
21+
onlyDependOnLibsWithTags: ['*'],
22+
},
23+
],
24+
},
25+
],
26+
},
27+
},
28+
];

nx.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,8 @@
1818
"production": [
1919
"default",
2020
"!{projectRoot}/**/?(*.)+(spec|test).[jt]s?(x)?(.snap)",
21-
"!{projectRoot}/tsconfig.spec.json"
21+
"!{projectRoot}/tsconfig.spec.json",
22+
"!{projectRoot}/eslint.config.js"
2223
]
2324
},
2425
"defaultBase": "main",

package.json

Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
"@docusaurus/module-type-aliases": "3.6.3",
1919
"@docusaurus/tsconfig": "3.6.3",
2020
"@docusaurus/types": "3.6.3",
21+
"@eslint/eslintrc": "3.2.0",
22+
"@eslint/js": "9.16.0",
2123
"@nx/devkit": "19.8.9",
2224
"@nx/eslint": "19.8.9",
2325
"@nx/eslint-plugin": "19.8.9",
@@ -29,22 +31,23 @@
2931
"@playwright/test": "^1.36.0",
3032
"@testing-library/jest-dom": "6.4.2",
3133
"@testing-library/react": "15.0.6",
32-
"@typescript-eslint/eslint-plugin": "7.18.0",
33-
"@typescript-eslint/parser": "7.18.0",
34+
"@typescript-eslint/eslint-plugin": "8.17.0",
35+
"@typescript-eslint/parser": "8.17.0",
3436
"@vitest/ui": "1.4.0",
35-
"eslint": "8.57.0",
37+
"eslint": "9.16.0",
3638
"eslint-config-prettier": "9.1.0",
3739
"eslint-plugin-import": "2.31.0",
38-
"eslint-plugin-jsx-a11y": "6.10.1",
39-
"eslint-plugin-playwright": "^1.6.2",
40-
"eslint-plugin-react": "7.34.1",
41-
"eslint-plugin-react-hooks": "5.0.0",
40+
"eslint-plugin-jsx-a11y": "6.10.2",
41+
"eslint-plugin-playwright": "2.1.0",
42+
"eslint-plugin-react": "7.37.2",
43+
"eslint-plugin-react-hooks": "5.1.0",
4244
"firebase-tools": "13.10.2",
4345
"jsdom": "24.0.0",
4446
"nx": "19.8.9",
4547
"nx-cloud": "19.1.0",
4648
"prettier": "3.2.5",
4749
"typescript": "5.5.4",
50+
"typescript-eslint": "8.17.0",
4851
"vite": "5.2.8",
4952
"vitest": "1.4.0"
5053
},

0 commit comments

Comments
 (0)