Skip to content

Latest commit

 

History

History
59 lines (43 loc) · 1.28 KB

File metadata and controls

59 lines (43 loc) · 1.28 KB

eslint-config-ts-standard-next standard-readme compliant

🔖 Description

Eslint config with standard-typescript (+other plugins) and extra opinionated configs applying best practices and focused on declarative code

📖 Summary

Linting and best practices rules for:

  • JavaScript and JSX
  • TypeScript and TSX
  • TSDoc
  • React and react hooks
  • NextJS
  • Accessibility (JSX a11y)
  • Package.json convention
  • JSON files
  • YAML
  • Markdown

📦 Installation

# Install the config in the dev dependencies
$ npm install -D eslint-config-ts-standard-next

🚀 Usage

Add to your eslint config file the config extending it like the example below:

{
  "extends": [ "ts-standard-next" ]
}

or add it directly in your package.json

// package.json
{
  "eslintConfig": {
    "extends": [ "ts-standard-next" ]
  }
}

🤓 Happy Code

Created with Typescript! ⚡ and latin music 🎺🎵

This README.md file has been written keeping in mind