@ramseyinhouse/eslint-config

Ramsey Solutions standard ESLint configuration.

Usage no npm install needed!

<script type="module">
  import ramseyinhouseEslintConfig from 'https://cdn.skypack.dev/@ramseyinhouse/eslint-config';
</script>

README

@ramseyinhouse/eslint-config

The official ESLint configuration for Ramsey Solutions.

Support for Babel and Prettier is pre-configured out of the box.

Expected Dependencies

  • eslint
  • prettier - Though not strictly required, this config relies on prettier to enforce many stylistic rules.

Installation

Install eslint and prettier as devDependencies if you have not already:

yarn add eslint prettier --dev

Install @ramseyinhouse/eslint-config:

yarn add @ramseyinhouse/eslint-config --dev

Usage

Configure ESLint to extend @ramseyinhouse/eslint-config.

  1. Add a .eslintrc.js (or other supported file format) to the root of your project.
  2. Extend @ramseyinhouse via the extends property:
module.exports = {
  extends: ['@ramseyinhouse'],
};