Skip to content
4 changes: 4 additions & 0 deletions common/build/eslint-config-fluid/flat.mts
Original file line number Diff line number Diff line change
Expand Up @@ -98,10 +98,14 @@ minimalDeprecated.push(dependConfig);
// Note: tsconfigRootDir is not set here to allow the parser to discover the correct project root
// from the location of the file being linted. This also allows the tsdoc plugin to find tsdoc.json
// files in the correct location.
// Note: project is explicitly set to null to override the project setting from the base eslintrc
// config (via FlatCompat). Newer @typescript-eslint/parser versions error if both project and
// projectService are enabled.
const useProjectService = {
files: ["**/*.ts", "**/*.tsx", "**/*.mts", "**/*.cts"],
languageOptions: {
parserOptions: {
project: null,
projectService: true,
},
},
Expand Down
8 changes: 4 additions & 4 deletions common/build/eslint-config-fluid/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,17 +25,17 @@
"dependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "~4.5.0",
"@eslint/eslintrc": "^3.3.3",
"@eslint/js": "^8.57.1",
"@eslint/js": "^9.39.2",
"@fluid-internal/eslint-plugin-fluid": "^0.4.1",
"@rushstack/eslint-plugin": "~0.22.1",
"@typescript-eslint/eslint-plugin": "~8.18.2",
"@typescript-eslint/parser": "~8.18.2",
"@typescript-eslint/eslint-plugin": "~8.50.0",
"@typescript-eslint/parser": "~8.50.0",
"eslint-config-biome": "~2.1.3",
"eslint-config-prettier": "~10.1.8",
"eslint-import-resolver-typescript": "~4.4.4",
"eslint-plugin-depend": "~1.4.0",
"eslint-plugin-import-x": "~4.16.1",
"eslint-plugin-jsdoc": "~61.4.1",
"eslint-plugin-jsdoc": "~61.5.0",
"eslint-plugin-promise": "~7.2.1",
"eslint-plugin-react": "~7.37.5",
"eslint-plugin-react-hooks": "~7.0.1",
Expand Down
441 changes: 229 additions & 212 deletions common/build/eslint-config-fluid/pnpm-lock.yaml

Large diffs are not rendered by default.

20 changes: 11 additions & 9 deletions common/build/eslint-config-fluid/printed-configs/default.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"plugins": [
"@",
"@eslint-community/eslint-comments",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.18.2",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.50.0",
"import-x:eslint-plugin-import-x@4.16.1",
"unicorn:eslint-plugin-unicorn@54.0.0",
"@rushstack",
Expand Down Expand Up @@ -1404,6 +1404,9 @@
"no-const-assign": [
"off"
],
"no-constant-binary-expression": [
"error"
],
"no-constant-condition": [
"error",
{
Expand Down Expand Up @@ -1462,6 +1465,9 @@
"allowObjectPatternsAsParameters": false
}
],
"no-empty-static-block": [
"error"
],
"no-eval": [
"error",
{
Expand Down Expand Up @@ -1506,13 +1512,6 @@
"no-import-assign": [
"off"
],
"no-inner-declarations": [
"error",
"functions",
{
"blockScopedFunctions": "allow"
}
],
"no-invalid-regexp": [
"error",
{}
Expand Down Expand Up @@ -1737,6 +1736,9 @@
"no-unused-labels": [
"error"
],
"no-unused-private-class-members": [
"error"
],
"no-unused-vars": [
"off"
],
Expand Down Expand Up @@ -1765,7 +1767,7 @@
"off"
],
"no-with": [
"error"
"off"
],
"no-wrap-func": [
"off"
Expand Down
20 changes: 11 additions & 9 deletions common/build/eslint-config-fluid/printed-configs/minimal.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"plugins": [
"@",
"@eslint-community/eslint-comments",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.18.2",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.50.0",
"import-x:eslint-plugin-import-x@4.16.1",
"unicorn:eslint-plugin-unicorn@54.0.0",
"@rushstack",
Expand Down Expand Up @@ -1371,6 +1371,9 @@
"no-const-assign": [
"off"
],
"no-constant-binary-expression": [
"error"
],
"no-constant-condition": [
"error",
{
Expand Down Expand Up @@ -1429,6 +1432,9 @@
"allowObjectPatternsAsParameters": false
}
],
"no-empty-static-block": [
"error"
],
"no-eval": [
"error",
{
Expand Down Expand Up @@ -1473,13 +1479,6 @@
"no-import-assign": [
"off"
],
"no-inner-declarations": [
"error",
"functions",
{
"blockScopedFunctions": "allow"
}
],
"no-invalid-regexp": [
"error",
{}
Expand Down Expand Up @@ -1701,6 +1700,9 @@
"no-unused-labels": [
"error"
],
"no-unused-private-class-members": [
"error"
],
"no-unused-vars": [
"off"
],
Expand Down Expand Up @@ -1729,7 +1731,7 @@
"off"
],
"no-with": [
"error"
"off"
],
"no-wrap-func": [
"off"
Expand Down
20 changes: 11 additions & 9 deletions common/build/eslint-config-fluid/printed-configs/react.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"plugins": [
"@",
"@eslint-community/eslint-comments",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.18.2",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.50.0",
"import-x:eslint-plugin-import-x@4.16.1",
"unicorn:eslint-plugin-unicorn@54.0.0",
"@rushstack",
Expand Down Expand Up @@ -1406,6 +1406,9 @@
"no-const-assign": [
"off"
],
"no-constant-binary-expression": [
"error"
],
"no-constant-condition": [
"error",
{
Expand Down Expand Up @@ -1464,6 +1467,9 @@
"allowObjectPatternsAsParameters": false
}
],
"no-empty-static-block": [
"error"
],
"no-eval": [
"error",
{
Expand Down Expand Up @@ -1508,13 +1514,6 @@
"no-import-assign": [
"off"
],
"no-inner-declarations": [
"error",
"functions",
{
"blockScopedFunctions": "allow"
}
],
"no-invalid-regexp": [
"error",
{}
Expand Down Expand Up @@ -1739,6 +1738,9 @@
"no-unused-labels": [
"error"
],
"no-unused-private-class-members": [
"error"
],
"no-unused-vars": [
"off"
],
Expand Down Expand Up @@ -1767,7 +1769,7 @@
"off"
],
"no-with": [
"error"
"off"
],
"no-wrap-func": [
"off"
Expand Down
20 changes: 11 additions & 9 deletions common/build/eslint-config-fluid/printed-configs/recommended.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"plugins": [
"@",
"@eslint-community/eslint-comments",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.18.2",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.50.0",
"import-x:eslint-plugin-import-x@4.16.1",
"unicorn:eslint-plugin-unicorn@54.0.0",
"@rushstack",
Expand Down Expand Up @@ -1404,6 +1404,9 @@
"no-const-assign": [
"off"
],
"no-constant-binary-expression": [
"error"
],
"no-constant-condition": [
"error",
{
Expand Down Expand Up @@ -1462,6 +1465,9 @@
"allowObjectPatternsAsParameters": false
}
],
"no-empty-static-block": [
"error"
],
"no-eval": [
"error",
{
Expand Down Expand Up @@ -1506,13 +1512,6 @@
"no-import-assign": [
"off"
],
"no-inner-declarations": [
"error",
"functions",
{
"blockScopedFunctions": "allow"
}
],
"no-invalid-regexp": [
"error",
{}
Expand Down Expand Up @@ -1737,6 +1736,9 @@
"no-unused-labels": [
"error"
],
"no-unused-private-class-members": [
"error"
],
"no-unused-vars": [
"off"
],
Expand Down Expand Up @@ -1765,7 +1767,7 @@
"off"
],
"no-with": [
"error"
"off"
],
"no-wrap-func": [
"off"
Expand Down
20 changes: 11 additions & 9 deletions common/build/eslint-config-fluid/printed-configs/strict-biome.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"plugins": [
"@",
"@eslint-community/eslint-comments",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.18.2",
"@typescript-eslint:@typescript-eslint/eslint-plugin@8.50.0",
"import-x:eslint-plugin-import-x@4.16.1",
"unicorn:eslint-plugin-unicorn@54.0.0",
"@rushstack",
Expand Down Expand Up @@ -1443,6 +1443,9 @@
"no-const-assign": [
"off"
],
"no-constant-binary-expression": [
"error"
],
"no-constant-condition": [
"error",
{
Expand Down Expand Up @@ -1501,6 +1504,9 @@
"allowObjectPatternsAsParameters": false
}
],
"no-empty-static-block": [
"error"
],
"no-eval": [
"error",
{
Expand Down Expand Up @@ -1545,13 +1551,6 @@
"no-import-assign": [
"off"
],
"no-inner-declarations": [
"error",
"functions",
{
"blockScopedFunctions": "allow"
}
],
"no-invalid-regexp": [
"error",
{}
Expand Down Expand Up @@ -1776,6 +1775,9 @@
"no-unused-labels": [
"error"
],
"no-unused-private-class-members": [
"error"
],
"no-unused-vars": [
"off"
],
Expand Down Expand Up @@ -1804,7 +1806,7 @@
"off"
],
"no-with": [
"error"
"off"
],
"no-wrap-func": [
"off"
Expand Down
Loading
Loading