We are using Prettier (https://prettier.io/) for convenient code formatting.
We set up code style configs with the belief that they will be used in conjunction with the Prettier.
So we recommend that you install and use the Prettier configurations for Stylelint and Eslint as an addition to our configurations. More info about integrations you can read in the Prettier docs
{
"arrowParens": "always",
"bracketSpacing": true,
"bracketSameLine": false,
"printWidth": 80,
"semi": true,
"singleQuote": true,
"trailingComma": "es5",
"tabWidth": 4,
"useTabs": true
}
npm i -D @wezom/stylelint-config stylelint-config-prettier
{
"extends": ["@wezom/stylelint-config", "stylelint-config-prettier"]
}
npm i -D @wezom/eslint-config eslint-config-prettier
{
"extends": ["@wezom/eslint-config", "prettier"]
}