Stylelint org's shareable config for ESLint.
For consistent JavaScript across Stylelint's repos.
$ npm install eslint-config-stylelint --save-devAdd this to your ESLint config:
import stylelintConfig from "eslint-config-stylelint";
export default [...stylelintConfig];Install the plugin additionally:
$ npm install eslint-plugin-jest --save-devThen, update your config:
import stylelintConfig from "eslint-config-stylelint";
import stylelintJestConfig from "eslint-config-stylelint/jest";
export default [...stylelintConfig, ...stylelintJestConfig];