Excerpt |
---|
...
|
...
| |||||||||||||||
LanguageWe use TypeScript as much as we can. We only resort to vanilla JavaScript when there are dependencies that do not work well with Typescript enabled. Naming guidelines see Google TypeScript Style Guide
VueWe use the Vue.js 3 composition API together with TypeScript. See the Vue.JS docs for details. In a nutshell our components will look like this.
We also use the Vue.js style guide that can be found here ESLint & PrettierAfter the patented schnick schnack schnuck procedure, we were able to choose between the style guides from Google Microsoft and Airbnb. It was Airbnb! WebStorm/PHPStormUpload the xml Airbnb Schema on Code Style
Set EsLint to “Automatic ESLint configuration“ Enable Typescript language service Auto Save Links https://www.jetbrains.com/help/phpstorm/prettier.html |