Opinionated PWA Studio configurations.
config | Description |
---|---|
eslint | Configurations for ESLint |
prettier | Configurations for Prettier |
stylelint | Configurations for stylelint |
$ npm install @valtech-commerce/pwastudio-config
Add some ESLint config to your .eslintrc.cjs
:
module.exports = {
...require("@valtech-commerce/pwastudio-config/eslint"),
};
- @valtech-commerce/react - Valtech_Commerce base React.js rules
- eslint-plugin-package-json - Rules for valid, consistent, and readable package.json files
- jsx-a11y/recommended - Recommended rules for accessibility rules on JSX elements
- package-json/recommended - Recommended rules for package.json files
- @magento/eslint-config - Recommended rules for PWA Studio
Add some Prettier config to your .prettierrc.cjs
:
module.exports = {
...require("@valtech-commerce/pwastudio-config/prettier"),
};
Add some stylelint config to your .stylelintrc.cjs
:
module.exports = {
...require("@valtech-commerce/pwastudio-config/stylelint"),
};
- @valtech-commerce/core - Valtech_Commerce base rules
- stylelint-config-css-modules - CSS modules shareable config for stylelint.
- stylelint-react-native - A collection of React Native specific linting rules
See the Changelog to see what has changed.
See the Contributing Guidelines for ways to get started.
See the Support Guide for ways to get help.
See the Security Policy for sharing vulnerability reports.
This project has a Code of Conduct. By interacting with this repository, organization, or community you agree to abide by its terms.