1.0.5 • Published 1 year ago
@ramseyinhouse/eslint-config v1.0.5
@ramseyinhouse/eslint-config
The official ESLint configuration for Ramsey Solutions.
Support for Babel and Prettier is pre-configured out of the box.
Expected Dependencies
eslintprettier- Though not strictly required, this config relies onprettierto enforce many stylistic rules.
Installation
Install eslint and prettier as devDependencies if you have not already:
yarn add eslint prettier --devInstall @ramseyinhouse/eslint-config:
yarn add @ramseyinhouse/eslint-config --devUsage
Configure ESLint to extend @ramseyinhouse/eslint-config.
- Add a
.eslintrc.js(or other supported file format) to the root of your project. - Extend
@ramseyinhousevia theextendsproperty:
module.exports = {
extends: ['@ramseyinhouse'],
};