@shiron-dev/eslint-config

1.5.1 • Public • Published

shiron's ESLint Config

This is shiron's personal ESLint configuration for TypeScript projects.

Installation

To use this configuration, you can install it via npm:

pnpm install -D @shiron-dev/eslint-config

Usage

Add the following to your .eslintrc.json or .eslintrc.js:

{
  "extends": [
    "@shiron-dev/eslint-config",
  ],
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}
module.exports = {
  extends: ["@shiron-dev/eslint-config"],
};

Rules

  • typescript(default)
  • prettier
  • jest
  • next
  • react
  • storybook

If you want to use only some of the rules, you can specify them as follows:

{rule} is the name of the rule.

{
  "extends": [
    "@shiron-dev/eslint-config",
    "@shiron-dev/eslint-config/{rule}",
  ]
}

License

MIT License

Readme

Keywords

none

Package Sidebar

Install

npm i @shiron-dev/eslint-config

Weekly Downloads

36

Version

1.5.1

License

MIT

Unpacked Size

13.2 kB

Total Files

20

Last publish

Collaborators

  • shiron-dev