Skip to content

redhookinteractive/eslint-config

Repository files navigation

@redhook/eslint-config

An eslint configuration that will allow projects to have consistent code quality and standards. It exports configurations for node, react, react-native, and a common package that can be used more generally.

How to use it

Install the package

# from the project you're trying to add it to
yarn add @redhook/eslint-config -D

Add the package in your .eslintrc.js file

To install the common package:

module.exports = {
  extends: [
    '@redhook/eslint-config',
  ],
};

To install the node package:

module.exports = {
  extends: [
    '@redhook/eslint-config/node',
  ],
};

To install the react package:

module.exports = {
  extends: [
    '@redhook/eslint-config/react',
  ],
};

To install the react-native package:

module.exports = {
  extends: [
    '@redhook/eslint-config/react-native',
  ],
};

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors