Vue normale

Il y a de nouveaux articles disponibles, cliquez pour rafraîchir la page.
À partir d’avant-hierShaarlist

GitHub - neostandard/neostandard: A spiritual successor to the standardjs javascript style guide

18 juin 2024 à 18:14

Un remplaçant pour StandardJS (un ensemble de règle sur la façon d'écrire du code JS) qui :

  • supporte ESLint 9 et son nouveau format de configuration flat,
  • se focalise sur ESLint au lieu de proposer son propre CLI
  • utilise ESLint Stylistic pour compenser la dépréciation des règles de style d'ESLint
  • supporte TypeScript nativement

Permalink

GitHub - neostandard/neostandard: A spiritual successor to the standardjs javascript style guide

18 juin 2024 à 18:14

Un remplaçant pour StandardJS (un ensemble de règle sur la façon d'écrire du code JS) qui :

  • supporte ESLint 9 et son nouveau format de configuration flat,
  • se focalise sur ESLint au lieu de proposer son propre CLI
  • utilise ESLint Stylistic pour compenser la dépréciation des règles de style d'ESLint
  • supporte TypeScript nativement

Permalink

Offline HTML5 Validator ❚ A Scripter's Notes

23 mai 2024 à 15:15

This last option makes it easy to setup a HTML linter in Gitlab CI pipelines:

lint-html:
  stage: test
  script:
  - apt update -y && apt install -y curl unzip
  - ...  # generate HTML content in public/
  - curl -ROLs https://github.com/validator/validator/releases/download/latest/vnu.linux.zip
  - unzip vnu.linux.zip
  - vnu-runtime-image/bin/vnu --skip-non-html public/

Permalink
❌
❌