formatting (#6190)

This commit is contained in:
Jack Kavanagh
2023-07-25 12:20:39 +02:00
committed by GitHub
parent 9fd965e9f3
commit c72eb2d373
2 changed files with 2 additions and 3 deletions

View File

@@ -12,7 +12,7 @@ const {
module.exports = {
settings: {
react: {
version: '17.0.2', // note: remember to always keep this in sync with `"react": "^17.0.2",` which is present in any package.json of a project using React.
version: '18.2.0',
},
},
parser: '@typescript-eslint/parser',
@@ -118,7 +118,6 @@ module.exports = {
'react/jsx-max-props-per-line': [ERROR, { maximum: 1, when: 'multiline' }],
'react/jsx-uses-react': ERROR,
'react/jsx-uses-vars': ERROR,
'react/jsx-indent': [ERROR, 2],
'react/jsx-indent-props': [ERROR, 2],
'react/prop-types': OFF(UNKNOWN),
'react/function-component-definition': [ERROR, {

View File

@@ -8,5 +8,5 @@
"files.insertFinalNewline": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modifications",
"editor.defaultFormatter": "dbaeumer.vscode-eslint",
"editor.defaultFormatter": "vscode.typescript-language-features",
}