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

@charlietango/eslint-config

Package Overview
Dependencies
Maintainers
0
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@charlietango/eslint-config

Provide a baseline configuration and set of ESlint rules for projects written with TypeScript and React.

  • 2.0.2
  • latest
  • npm
  • Socket score

Version published
Maintainers
0
Created
Source

@charlietango/eslint-config

Provide a baseline configuration and set of ESlint rules for projects written with TypeScript and React.

Usage

Create a new eslint.config.js file, and extend the @charlietango/eslint-config inside it.

import ctConfig from "@charlietango/eslint-config";

export default [...ctConfig];

You can modify the rules as needed, or add additional rules to the configuration.

Language

The configuration is written in TypeScript, and is intended to be used with TypeScript and React projects. It also includes globals for both node and browser environments.

Rules

Provides configuration for the following:

  • JavaScript
  • TypeScript
  • React

All the rules are located under @charlietango/eslint-config/rules, and can be imported and used individually.

Recommend plugins

In addition to this base configuration, we recommend using the following plugins in the application

eslint-plugin-tailwindcss

import ctConfig from "@charlietango/eslint-config";
import tailwind from "eslint-plugin-tailwindcss";

export default [
  ...ctConfig,
  ...tailwind.configs["flat/recommended"],
  {
    settings: {
      tailwindcss: {
        callees: ["classnames", "clsx", "cn"],
        classnamesOrder: "off", // Handled by Prettier
      },
    },
  },
];

FAQs

Package last updated on 08 Nov 2024

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc