1.0.3 • Published 3 days ago

eslint-config-bcrikko v1.0.3

Weekly downloads
-
License
MIT
Repository
github
Last release
3 days ago

eslint-config-bcrikko

This repository is a custom ESLint configuration and used personally by B.C.Rikko.

Dependencies

This configuration depends on the following packages and plugins:

  • eslint
  • stylistic
  • typescript-eslint
  • eslint-plugin-import
  • eslint-plugin-jsx-a11y
  • eslint-plugin-react
  • eslint-plugin-react-hooks

Usage

npm install -D eslint eslint-config-bcrikko

For example:

// eslint.config.js
import base from 'eslint-config-bcrikko'
import react from 'eslint-config-bcrikko/react'

/**
 * @type {import('eslint').Linter.Config[]}
 */
const config = [
  ...base,
  ...react,
  {
    settings: {
      react: {
        // Automatically detect React version
        version: 'detect',
      },
    },
    rules: {
      // Customize your ESLint rules here
    },
  },
]

export default config