🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

eslint-config-smarthr

Package Overview
Dependencies
Maintainers
23
Versions
107
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-smarthr

A sharable ESLint config for SmartHR

9.6.0
latest
npm
Version published
Weekly downloads
12K
-11.62%
Maintainers
23
Weekly downloads
 
Created
Source

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

Keywords

eslint

FAQs

Package last updated on 12 Jun 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts