eslint-config-smarthr

6.30.0 • Public • Published

eslint-config-smarthr

npm version CircleCI

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

Install

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

How to use

Add a following .eslintrc.js in your project.

module.exports = {
    extends: 'smarthr'
}

Run eslint!

yarn eslint src

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

yarn eslint --ext .ts,.tsx src

Readme

Keywords

Package Sidebar

Install

npm i eslint-config-smarthr

Weekly Downloads

4,387

Version

6.30.0

License

MIT

Unpacked Size

49 kB

Total Files

24

Last publish

Collaborators

  • shingo.sasaki
  • kesteer
  • yamish123
  • ackndev
  • ibulog
  • alpaca-tc
  • nabeliwo
  • atsushim
  • koba04
  • im36.123
  • smarthr-dev
  • ykarakita
  • cidermitaina
  • meganemura
  • wata727
  • wmoai
  • diescake
  • moshisora
  • tokky0425
  • hawaiiman
  • smarthr-admin
  • yamamoto-yuta
  • kgsi
  • otapo
  • kuny