@sylvainpolletvillard/setup-linters

Auto setup linters for JS, CSS, HTML in a new project. My opiniated config, but can be easily changed.

Usage no npm install needed!

<script type="module">
  import sylvainpolletvillardSetupLinters from 'https://cdn.skypack.dev/@sylvainpolletvillard/setup-linters';
</script>

README

setup-linters

Auto setup linters for JS, CSS, HTML in a new project. My opiniated config, but can be easily changed.

Install and configure eslint, stylelint, htmllint and lint-staged to lint your changed files before a commit.

cd my-new-project
npm i @sylvainpolletvillard/setup-linters --save-dev
npx setup-linters