Skip to content

Latest commit

 

History

History
39 lines (23 loc) · 1.65 KB

README.md

File metadata and controls

39 lines (23 loc) · 1.65 KB

Porsche Digital ESLint Config

npm version GitHub license npm

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.