eslint-config-hami

1.6.1 • Public • Published

eslint-config-hami

My ESLint config for typescript, react and nextjs

Based on Standard

JavaScript Style Guide


Install

yarn add --dev eslint-config-hami
yarn esinit --config <config>

Configs: ts, react, nextjs

Other Configs

React Config

Change extends to hami/react in .eslintrc.json

{
  "extends": ["hami/react"],
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}

NextJS Config

Change extends to hami/nextjs in .eslintrc.json

{
  "extends": ["hami/nextjs"],
  "parserOptions": {
    "project": "./tsconfig.json"
  }
}

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-hami

Weekly Downloads

3

Version

1.6.1

License

MIT

Unpacked Size

6.96 kB

Total Files

14

Last publish

Collaborators

  • hammy2899