ScandiPWA comes with a very strict linter out of the box to ensure the quality and consistency of the code between projects. Some rules are based on their preference, while others are “essential” to make sure the code you are writing is compatible with ScandiPWA’s plugin architecture.

Here are some of the essential rules:

These rules can be found in the @scandipwa/eslint-plugin-scandipwa-guidelines NPM package. If you find these rules too strict, you can configure ESLint to match your needs. For example, you can disable ESLint or change its configurations.

Remember, the main goal of these strict rules is to maintain a high standard of code quality and consistency across different projects. It might seem rigorous at first, but it helps in maintaining a clean and efficient codebase in the long run.

How to configure ESLint?