Thanks to visit codestin.com
Credit goes to Github.com

Skip to content

shelfio/eslint-config

Repository files navigation

@shelf/eslint-config

Style Guide

Read our style guide

Install

$ pnpm add --save-dev --save-exact @shelf/eslint-config

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

$ pnpm version patch
$ git push --follow-tags

License

MIT © Shelf