Skip to content

Commit a8d3618

Browse files
Migrate to Prettier v3 (#91)
Signed-off-by: Tristan Chuine <[email protected]>
1 parent 5ac5528 commit a8d3618

File tree

13 files changed

+343
-42
lines changed

13 files changed

+343
-42
lines changed

.eslintrc.json

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@
77
],
88
"settings": {
99
"import/parsers": {
10-
"@typescript-eslint/parser": [
11-
".ts",
12-
".tsx"
13-
]
10+
"@typescript-eslint/parser": [".ts", ".tsx"]
1411
},
1512
"import/resolver": {
1613
"typescript": {
@@ -23,10 +20,7 @@
2320
"rules": {
2421
"prettier/prettier": "warn",
2522
"curly": "error",
26-
"react-refresh/only-export-components": [
27-
"error",
28-
{ "allowConstantExport": true }
29-
],
23+
"react-refresh/only-export-components": ["error", { "allowConstantExport": true }],
3024
"import/no-cycle": [
3125
"error",
3226
{

.npmrc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
node-options=--experimental-strip-types

.prettierrc.json

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

.sonarlint/connectedMode.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
22
"sonarCloudOrganization": "gridsuite",
33
"projectKey": "gridsuite_gridadmin-app"
4-
}
4+
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
License, v. 2.0. If a copy of the MPL was not distributed with this
55
file, You can obtain one at http://mozilla.org/MPL/2.0/.
66
-->
7-
<!DOCTYPE html>
7+
<!doctype html>
88
<html lang="en" translate="no">
99
<head>
1010
<base href="/" />

0 commit comments

Comments
 (0)