Skip to content

BcRikko/eslint-config-bcrikko

Repository files navigation

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

About

It's my rules.

Resources

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 3

  •  
  •  
  •