eslint-config-smarthr
v10.10.1
Published
A sharable ESLint config for SmartHR
Maintainers
Keywords
Readme
eslint-config-smarthr
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-smarthrHow 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 srcIf you want to lint TypeScript files including .tsx, you can use --ext option ESLint has.
pnpm eslint --ext .ts,.tsx src