eslint-config-smarthr

9.6.0 • Public • Published

eslint-config-smarthr

npm version

A sharable ESLint config for SmartHR. This is intended to use at a project for React + TypeScript.

Install

pnpm add --dev eslint typescript react // install peerDependencies
pnpm add --dev eslint-config-smarthr

How to use

Add a following eslint.config.mjs in your project.

import smarthr from 'eslint-config-smarthr'

export default [
  ...smarthr,
  {
    // your project's configuration
  },
]

Run eslint!

pnpm eslint src

If you want to lint TypeScript files including .tsx, you can use --ext option ESLint has.

pnpm eslint --ext .ts,.tsx src

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-smarthr

Weekly Downloads

12,316

Version

9.6.0

License

MIT

Unpacked Size

117 kB

Total Files

14

Last publish

Collaborators

  • nabeliwo
  • atsushim
  • im36.123
  • smarthr-dev
  • cidermitaina
  • meganemura
  • wmoai
  • diescake
  • moshisora
  • tokky0425
  • hawaiiman
  • smarthr-admin
  • yamamoto-yuta
  • otapo
  • kuny
  • alpaca-tc
  • ackndev
  • shingo.sasaki
  • kesteer
  • yamish123
  • chick-p
  • uknmr
  • yuki_snow1823