New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

@alex-e-leon/eslint-config

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@alex-e-leon/eslint-config

personalised eslint configs

11.27.0
Version published
Weekly downloads
136
-19.53%
Maintainers
0
Weekly downloads
 
Created

eslint-config

Personalised eslint-configs + prettier config for:

  • react projects with ts + css modules
  • node.js projects with typescript
  • a bonus config that shows suggestions for areas of the code to refactor or simplify

Requires eslint 9 es modules (ie type:module is set in the package json) and uses the new flat file config

Usage

npm i -D @alex-e-leon/eslint-config

.eslint.config.js

import eslintConfig from "@alex-e-leon/eslint-config/react-ts";
\\ or
import eslintConfig from "@alex-e-leon/eslint-config/node-ts";

export default [
...eslintConfig,
// any local overrides
]

package.json

  "prettier": "@alex-e-leon/eslint-config/prettier.json"

Note that you must install typescript, prettier and eslint seperately

FAQs

Package last updated on 17 Jan 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