My shared ESLint Configuration for JS Projects
yarn add git+ssh://git@github.com/carloluis/eslint-config-carloluis.git eslint-plugin-prettier@3.1.2 --dev
Reference the eslint-config-carloluis
in the extends section of your ESLint config.
module.exports = {
extends: ['carloluis'],
rules: {
// Additional rules here...
}
};
Reference the prettier.config
in your Prettier config
"eslint-config-carloluis/prettier.config"