Porsche Digital ESLint Config
An opinionated ESLint config which supports: JavaScript, TypeScript, Jest and React.
🚀 Usage of ESLint configs
Currently there are the following eslint configs provided as extensible shared components
Prettier
Make sure to also include our prettier config.
📜 Decisions
Prettier
We differ between code quality rules and stylistic rules.
Therefore, we follow the recommendation of prettier.
That means, that we use eslint
exclusively for code quality and prettier
for the style.
That's why this project also contains a package with a shared prettier
config containing the rules we have agreed on.
Dependencies
In order to keep this opinionated config as plug- and playable as possible, we decided to declare the dependencies not as peerDependencies
.
Contributing
See CONTRIBUTING.
License
See LICENSE.