2.1.7 • Published 5 months ago

@quartzds/eslint-config v2.1.7

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
5 months ago

@quartzds/eslint-config

NPM Package License

Shareable ESLint configuration for Quartz design system packages.

💿 Installation

npm install --save-dev @quartzds/eslint-config eslint

📖 Usage

The shareable configuration can be configured in the ESLint configuration file:

import { configs } from '@quartzds/eslint-config'
import { defineConfig } from 'eslint/config'

export default defineConfig([configs.recommended])

Alternatively, each plugin may also be used individually:

import { configs } from '@quartzds/eslint-config'
import { defineConfig } from 'eslint/config'

export default defineConfig([
  configs.base.recommended,
  configs.eslintComments.recommended,
  configs.import.recommended,
  configs.importSort.recommended,
  configs.jsxA11y.recommended,
  configs.node.recommended,
  configs.playwright.recommended,
  configs.react.recommended,
  configs.reactHooks.recommended,
  configs.sonarjs.recommended,
  configs.storybook.recommended,
  configs.typescript.recommended,
  configs.unicorn.recommended,
  configs.yml.recommended,
])

⚖️ License

See the LICENSE file for license rights and limitations.