@astronomer/eslint-config-astro

Astronomer's shared ESLint configuration

Usage no npm install needed!

<script type="module">
  import astronomerEslintConfigAstro from 'https://cdn.skypack.dev/@astronomer/eslint-config-astro';
</script>

README

Astronomer ESLint Config

Add @astronomer/eslint-config-astro as a devDependency to your project:

yarn add eslint @astronomer/eslint-config-astro --dev

Add a lint script in your project package.json file:

{
  "name": "stargazer",
  "scripts": {
    "lint": "eslint src"
  }
}

To lint the src directory of your project run:

yarn run lint