Skip to content

Commit aa5edf7

Browse files
chore(deps): update dependency prettier to v3.2.4 (#8357)
* chore(deps): update dependency prettier to v3.2.4 * chore: update formatting after prettier upgrade --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: JamesHenry <james@henry.sc>
1 parent 73669b6 commit aa5edf7

File tree

53 files changed

+214
-227
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+214
-227
lines changed

docs/linting/Troubleshooting.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -240,22 +240,22 @@ For example, you can ban enums (or some variation of) using one of the following
240240
// ban all enums
241241
{
242242
"selector": "TSEnumDeclaration",
243-
"message": "My reason for not using any enums at all"
243+
"message": "My reason for not using any enums at all",
244244
},
245245

246246
// ban just const enums
247247
{
248248
"selector": "TSEnumDeclaration[const=true]",
249-
"message": "My reason for not using const enums"
249+
"message": "My reason for not using const enums",
250250
},
251251

252252
// ban just non-const enums
253253
{
254254
"selector": "TSEnumDeclaration:not([const=true])",
255-
"message": "My reason for not using non-const enums"
256-
}
257-
]
258-
}
255+
"message": "My reason for not using non-const enums",
256+
},
257+
],
258+
},
259259
}
260260
```
261261

docs/linting/typed-linting/Monorepos.mdx

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,14 @@ If its `include` paths cannot include all files to be linted, we suggest creatin
2323
"extends": "./tsconfig.json",
2424
"compilerOptions": {
2525
// ensure that nobody can accidentally use this config for a build
26-
"noEmit": true
26+
"noEmit": true,
2727
},
2828
"include": [
2929
// whatever paths you intend to lint
3030
"src",
3131
"test",
32-
"tools"
33-
]
32+
"tools",
33+
],
3434
}
3535
```
3636

docs/packages/Parser.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,8 +241,8 @@ This option allows you to provide a path to your project's `tsconfig.json`. **Th
241241
// etc
242242

243243
// if you have a mixed JS/TS codebase, don't forget to include your JS files
244-
"src/**/*.js"
245-
]
244+
"src/**/*.js",
245+
],
246246
}
247247
```
248248

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@
109109
"ncp": "^2.0.0",
110110
"netlify": "^13.1.9",
111111
"nx": "17.2.8",
112-
"prettier": "3.1.0",
112+
"prettier": "3.2.4",
113113
"pretty-format": "^29.6.2",
114114
"raw-loader": "^4.0.2",
115115
"rimraf": "^5.0.1",

packages/ast-spec/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"extends": "./tsconfig.build.json",
33
"compilerOptions": {
44
"composite": false,
5-
"rootDir": "."
5+
"rootDir": ".",
66
},
77
"include": ["src", "typings", "tests", "tools", "**/fixtures/**/config.ts"],
88
"exclude": ["**/fixtures/**/fixture.ts", "**/fixtures/**/fixture.tsx"],
9-
"references": [{ "path": "../typescript-estree/tsconfig.build.json" }]
9+
"references": [{ "path": "../typescript-estree/tsconfig.build.json" }],
1010
}

packages/eslint-plugin-internal/tests/fixtures/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
"strict": true,
77
"esModuleInterop": true,
88
"lib": ["es2015", "es2017", "esnext"],
9-
"experimentalDecorators": true
9+
"experimentalDecorators": true,
1010
},
11-
"include": ["file.ts"]
11+
"include": ["file.ts"],
1212
}

packages/eslint-plugin-internal/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@
33
"compilerOptions": {
44
"composite": false,
55
"target": "ES2022",
6-
"rootDir": "."
6+
"rootDir": ".",
77
},
88
"include": ["src", "typings", "tests"],
9-
"references": [{ "path": "../utils/tsconfig.build.json" }]
9+
"references": [{ "path": "../utils/tsconfig.build.json" }],
1010
}

packages/eslint-plugin-tslint/tests/fixtures/test-project/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"module": "commonjs",
55
"strict": true,
66
"noUnusedLocals": true,
7-
"noImplicitAny": true
8-
}
7+
"noImplicitAny": true,
8+
},
99
}

packages/eslint-plugin-tslint/tsconfig.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,9 +2,9 @@
22
"extends": "./tsconfig.build.json",
33
"compilerOptions": {
44
"composite": false,
5-
"rootDir": "."
5+
"rootDir": ".",
66
},
77
"include": ["src", "tests"],
88
"exclude": ["tests/fixtures"],
9-
"references": [{ "path": "../utils/tsconfig.build.json" }]
9+
"references": [{ "path": "../utils/tsconfig.build.json" }],
1010
}

packages/eslint-plugin/docs/rules/ban-types.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -114,15 +114,15 @@ Example configuration:
114114
// add a custom message, AND tell the plugin how to fix it
115115
"OldAPI": {
116116
"message": "Use NewAPI instead",
117-
"fixWith": "NewAPI"
117+
"fixWith": "NewAPI",
118118
},
119119

120120
// un-ban a type that's banned by default
121-
"{}": false
121+
"{}": false,
122122
},
123-
"extendDefaults": true
124-
}
125-
]
123+
"extendDefaults": true,
124+
},
125+
],
126126
}
127127
```
128128

0 commit comments

Comments
 (0)