@simontemplar980/eslint-config v2.0.2
@juvers/eslint-config
Juvers's Recommended ESLint config.
Getting Started
Get up and running using yarn:
# Add @juvers/eslint-config and base config peer dependencies.
yarn add --dev eslint prettier @juvers/eslint-configThen configure eslint to use the recommended config in your .eslintrc:
.eslintrc{ "extends": ["@juvers"] }NOTE: You don't need to explicitly extend
@juvers/eslint-configif you are already extending@juvers, so this and the following.eslintrcconfigs are equivalent:
.eslintrc{ "extends": ["@juvers/eslint-config"] }
.eslintrc{ "extends": ["@juvers"] }
Dependencies
This config uses the eslint:recommended config, and also uses recommended configs for the following plugins:
Prettier Config
The recommended config includes support for Prettier, which has
its own configuration. While we could configure it to our liking
directly in the .eslintrc, it is better to provide a standalone
prettier.config.js file which can be used by other tools,
such as prettier-vscode.
This package ships with a prettier.config.js that you can extend in
your project prettier.config.js:
prettier.config.jsmodule.exports = require('@juvers/eslint-config/prettier.config.js');
4 years ago