SocialGouv / www

Site de la fabrique numérique des Ministères sociaux
https://www.fabrique.social.gouv.fr/
Other
34 stars 46 forks source link

chore: add eslint config and prettier #1025

Closed gary-van-woerkens closed 1 year ago

gary-van-woerkens commented 1 year ago

Ma config .vscode/settings.json:

{
  "editor.formatOnSave": false,
  "eslint.packageManager": "yarn",
  "eslint.validate": ["javascript", "typescript", "typescriptreact"],
  "editor.codeActionsOnSave": {
    "source.fixAll.eslint": true
  },
}
sonarcloud[bot] commented 1 year ago

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 1 Code Smell

No Coverage information No Coverage information
0.0% 0.0% Duplication

socket-security[bot] commented 1 year ago

New dependencies detected. Learn more about Socket for GitHub ↗︎

Packages Version New capabilities Transitives Size Publisher
eslint-plugin-prettier 5.0.0 None +2 86.4 kB jounqin
github-actions[bot] commented 1 year ago

🎉 Deployment for commit 86cfa4dda63488622bcb06bca91cd194eb0b4daf :

Ingresses - 🚀 [https://www-eslint-prettier.ovh.fabrique.social.gouv.fr/](https://www-eslint-prettier.ovh.fabrique.social.gouv.fr/)
Docker images - 📦 docker pull harbor.fabrique.social.gouv.fr/fabrique/www/app:sha-86cfa4dda63488622bcb06bca91cd194eb0b4daf
Debug - [📕 Loki logs for namespace www-eslint-prettier](https://grafana.fabrique.social.gouv.fr/explore?orgId=1&left=%5B%22now-6h%22,%22now%22,%22Loki%22,%7B%22expr%22:%22%7Bnamespace%3D%5C%22www-eslint-prettier%5C%22%7D%22%7D%5D) - [📈 Pods monitoring for namespace www-eslint-prettier](https://grafana.fabrique.social.gouv.fr/d/85a562078cdf77779eaa1add43ccec1e/kubernetes-compute-resources-namespace-pods?orgId=1&refresh=10s&var-datasource=default&var-cluster=dev2&var-namespace=www-eslint-prettier) - [📈 Workloads monitoring for namespace www-eslint-prettier](https://grafana.fabrique.social.gouv.fr/d/a87fb0d919ec0ea5f6543124e16c42a5/kubernetes-compute-resources-namespace-workloads?orgId=1&refresh=10s&var-datasource=default&var-cluster=dev2&var-namespace=www-eslint-prettier&var-type=deployment) - [👮‍♂️ Namespace rancher www-eslint-prettier](https://rancher.fabrique.social.gouv.fr/dashboard/c/c-m-97jxtvnv/explorer/namespace/www-eslint-prettier) - [👮‍♂️ Deployment app](https://rancher.fabrique.social.gouv.fr/dashboard/c/c-m-97jxtvnv/explorer/apps.deployment/www-eslint-prettier/app)
github-advanced-security[bot] commented 1 year ago

This pull request sets up GitHub code scanning for this repository. Once the scans have completed and the checks have passed, the analysis results for this pull request branch will appear on this overview. Once you merge this pull request, the 'Security' tab will show more code scanning analysis results (for example, for the default branch). Depending on your configuration and choice of analysis tool, future pull requests will be annotated with code scanning analysis results. For more information about GitHub code scanning, check out the documentation.

SocialGroovyBot commented 1 year ago

:tada: This PR is included in version 2.40.0-beta.3 :tada:

The release is available on GitHub release

Your semantic-release bot :package::rocket: