$ yarn install eslint-config-primarysite
With your project's .eslintrc.js, extend 'primarysite'
module.exports = {
extends: 'primarysite'
};
-
When we support Node 10 in more places, turn the
prefer-named-capture-group
rule on. -
Remove the
ignoreElements
property from thejsx-a11y/control-has-associated-label
rule when this issue is resolved: https://github.com/evcohen/eslint-plugin-jsx-a11y/issues/566