1.10.0 • Published 8 months ago

@azat-io/eslint-config-astro v1.10.0

Weekly downloads
-
License
MIT
Repository
github
Last release
8 months ago

@azat-io/eslint-config-astro

Version

Shareable ESLint config for Astro projects.

See docs for a list of all rules.

Installation

  1. Install package:
pnpm add --save-dev eslint @azat-io/eslint-config-astro @typescript-eslint/eslint-plugin @typescript-eslint/parser astro-eslint-parser eslint-plugin-astro eslint-plugin-import eslint-plugin-jsx-a11y eslint-plugin-n eslint-plugin-node-import eslint-plugin-perfectionist eslint-plugin-prefer-arrow eslint-plugin-prefer-let eslint-plugin-promise eslint-plugin-sonarjs eslint-plugin-unicorn eslint-plugin-vitest
  1. Create ESLint configuration file eslint.config.js:
import eslintConfig from '@azat-io/eslint-config-astro'

export default eslintConfig
  1. Add script for package.json:
{
  "scripts": {
    "lint": "eslint .",
  }
}
1.10.0

8 months ago

1.9.0

10 months ago

1.8.0

11 months ago

1.7.1

1 year ago

1.7.0

1 year ago

1.6.3

1 year ago

1.6.2

1 year ago

1.6.1

1 year ago

1.6.0

1 year ago

1.5.1

1 year ago

1.5.0

2 years ago

1.4.0

2 years ago

1.3.0

2 years ago