Skip to content

koba04/eslint-config-smarthr

 
 

Repository files navigation

eslint-config-smarthr

npm version CircleCI

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

Install

yarn add --dev eslint prettier 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

About

No description, website, or topics provided.

Resources

License

Contributing

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%