Skip to content

shelfio/eslint-config

Repository files navigation

@shelf/eslint-config

Style Guide

Read our style guide

Install

$ yarn add @shelf/eslint-config --dev

Usage

Backend

import tsConfig from '@shelf/eslint-config/typescript';

export default [...tsConfig];

Frontend

import feTsConfig from '@shelf/eslint-config/frontend-typescript';

export default [
  ...feTsConfig,
  {
    settings: {
      react: {
        version: 'detect',
      },
    },
  },
];

Publish

$ yarn version
$ git push --tags

License

MIT © Shelf