Skip to content

Commit 73b751e

Browse files
committed
updating for no-parenthesis
1 parent e5fab42 commit 73b751e

File tree

3 files changed

+9
-8
lines changed

3 files changed

+9
-8
lines changed

.prettierrc.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,5 +11,7 @@ module.exports = {
1111
tabWidth: 2
1212
}
1313
}
14-
]
14+
],
15+
// add "arrowParens": "always"
16+
"arrowParens": "always",
1517
};

.vscode/settings.json

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@
2828
"source.fixAll.eslint": "explicit",
2929
"source.organizeImports.isort": "explicit"
3030
},
31-
"editor.defaultFormatter": "charliermarsh.ruff",
31+
"editor.defaultFormatter": "charliermarsh.ruff"
3232
},
3333
"[rust]": {
3434
"editor.defaultFormatter": "rust-lang.rust-analyzer",
@@ -67,12 +67,9 @@
6767
"git.pullBeforeCheckout": true,
6868
// Open merge editor for resolving conflicts.
6969
"git.mergeEditor": true,
70-
"python.testing.pytestArgs": [
71-
"python_files/tests"
72-
],
70+
"python.testing.pytestArgs": ["python_files/tests"],
7371
"python.testing.unittestEnabled": false,
7472
"python.testing.pytestEnabled": true,
75-
"rust-analyzer.linkedProjects": [
76-
".\\python-env-tools\\Cargo.toml"
77-
]
73+
"rust-analyzer.linkedProjects": [".\\python-env-tools\\Cargo.toml"],
74+
"prettier.configPath": "./.prettierrc"
7875
}

eslint.config.mjs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,6 +145,8 @@ export default [
145145
'no-template-curly-in-string': 'off',
146146
'no-useless-escape': 'off',
147147
'no-extra-parentheses': 'off',
148+
'no-extra-paren': 'off',
149+
'@typescript-eslint/no-extra-parens': 'off',
148150
strict: 'off',
149151

150152
// Restricted syntax

0 commit comments

Comments
 (0)