Package Exports
- eslint-config-sheriff
- eslint-config-sheriff/package.json
- eslint-config-sheriff/recommended
Readme
Sheriff
📜 Table of Contents
📖 Description
This is a comprehensive Eslint configuration offered as a template.
This config supports only modern Ecmascript and Typescript codebases.
It takes into account various technologies.
✨ Usage
Copy and paste the parts of the config that interest you and makes sense for your project.
This config is highly opinionated, so make sure to meet the hard requirements in your project.
🖥️ Techs
- Eslint
- Prettier
- Typescript
- React
- Lodash (optional)
- Playwright (optional)
🔑 Requirements
Hard requirements
- Node 16+
- Eslint
- Typescript
- React
Recommendations
- VScode
- VScode eslint extension
- VScode prettier extension
- Node 18+
🐙 Eslint plugins
- prettier (plugin/config)
- @typescript/eslint
- eslint-plugin-unicorn
- eslint-plugin-sonarjs
- eslint-plugin-import
- eslint-plugin-prefer-optional-chaining
- eslint-plugin-lodash-f
- my fork of eslint-plugin-lodash
- eslint-plugin-playwright
- eslint-plugin-jsdoc
🚀 Roadmap
I plan to transform this into an actual npm package, once Eslint fully rolls out the new "Flat Config" system.
🙏 Acknowledgments
For some of this config i partially used as a base eslint-config-red.