-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into 284-add-translations-to-events-and-event-page
- Loading branch information
Showing
109 changed files
with
2,818 additions
and
690 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,85 @@ | ||
{ | ||
// These settings are required for the project. | ||
|
||
// ================================ | ||
// Editor | ||
// ================================ | ||
"files.autoSave": "onFocusChange", | ||
"editor.formatOnSave": true, | ||
"html.format.enable": false, | ||
"python.linting.enabled": true, | ||
|
||
// ================================ | ||
// Backend | ||
// ================================ | ||
// yapf (formatter) | ||
"yapf.importStrategy": "fromEnvironment", | ||
"yapf.args": ["--style", "backend/.style.yapf"], | ||
// mypy (type checker, linter) | ||
"mypy-type-checker.importStrategy": "fromEnvironment", | ||
"mypy-type-checker.args": ["--config-file", "backend/mypy.ini", "--no-pretty"], | ||
// flake8 (linter) | ||
"flake8.importStrategy": "fromEnvironment", | ||
"flake8.args": ["--config", "backend/.flake8"], | ||
// pytest | ||
"python.testing.pytestEnabled": true, | ||
"python.testing.pytestArgs": ["-c", "backend/pytest.ini"], | ||
"python.formatting.provider": "yapf" | ||
// Other | ||
"python.envFile": "backend/.env", | ||
"[python]": { | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": false, | ||
"source.organizeImports": false | ||
}, | ||
"editor.defaultFormatter": "eeyore.yapf" | ||
}, | ||
|
||
// ================================ | ||
// Frontend | ||
// ================================ | ||
"eslint.enable": true, | ||
"eslint.format.enable": true, | ||
"html.format.enable": false, | ||
"prettier.configPath": "frontend/.prettierrc.js", | ||
"prettier.ignorePath": "frontend/.prettierignore", | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"eslint.workingDirectories": ["frontend"], | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": true, | ||
"source.organizeImports": true | ||
} | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": false, | ||
"source.organizeImports": true | ||
} | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": true, | ||
"source.organizeImports": true | ||
} | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": true, | ||
"source.organizeImports": true | ||
} | ||
}, | ||
"[scss]": { | ||
"editor.defaultFormatter": "stylelint.vscode-stylelint" | ||
}, | ||
"[css]": { | ||
"editor.defaultFormatter": "stylelint.vscode-stylelint" | ||
}, | ||
"css.validate": true, | ||
"less.validate": true, | ||
"scss.validate": true, | ||
"stylelint.configFile": "frontend/.stylelintrc", | ||
"stylelint.enable": true, | ||
"stylelint.validate": ["css", "scss"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,21 @@ | ||
{ | ||
"editor.formatOnSave": true, | ||
// Hide import regions automatically, e.g. (.js) | ||
// These settings are not required for the project. | ||
|
||
// Hide import regions automatically, e.g. (.js). | ||
"editor.foldingImportsByDefault": true, | ||
|
||
// Automatically set filetype when opening a new file. | ||
// This setting determines new filetype based on the current focused file. | ||
"files.defaultLanguage": "${activeEditorLanguage}", | ||
// Change layout of the upper title | ||
|
||
// Change layout of the upper title. | ||
"window.title": "🦐 ${activeEditorShort}${separator}${rootName}", | ||
"[typescript]": { | ||
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": true, | ||
"source.organizeImports": true | ||
} | ||
}, | ||
"[typescriptreact]": { | ||
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": true, | ||
"source.organizeImports": true | ||
} | ||
}, | ||
"[javascriptreact]": { | ||
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": true, | ||
"source.organizeImports": true | ||
} | ||
}, | ||
"[javascript]": { | ||
"editor.defaultFormatter": "rvest.vs-code-prettier-eslint", | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": true, | ||
"source.organizeImports": true | ||
} | ||
}, | ||
"[python]": { | ||
"editor.codeActionsOnSave": { | ||
"source.fixAll": false, | ||
"source.organizeImports": false | ||
} | ||
|
||
// Change layout of editor. | ||
"workbench.colorCustomizations": { | ||
"titleBar.activeForeground": "#fff", | ||
"titleBar.activeBackground": "#a03033", | ||
"titleBar.inactiveBackground": "#a03033", | ||
"editorCursor.foreground": "#ff2222" | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.