@porscheofficial/eslint-config-porschedigital-react

This package provides Porsche Digital's eslint-config as an extensible shared config.


Keywords
a11y, eslint, eslint-config, eslint-rules, jest, prettier, react, reactjs, typescript
License
MIT
Install
npm install @porscheofficial/eslint-config-porschedigital-react@4.0.0

Documentation

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.