Socket
Book a DemoInstallSign in
Socket

@anansi/eslint-plugin

Package Overview
Dependencies
Maintainers
1
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@anansi/eslint-plugin

Sane community baseline for React and TypeScript

npmnpm
Version
1.0.49
Version published
Weekly downloads
220
59.42%
Maintainers
1
Weekly downloads
 
Created
Source

Sane community baseline for React and TypeScript

CircleCI npm downloads npm version PRs Welcome

Installation

yarn add --dev @anansi/eslint-plugin

Usage

TypeScript + Javascript

Be sure to configure the project option properly - especially if you have a monorepo.

eslint.config.js

import anansiPlugin from '@anansi/eslint-plugin';

export default [
  anansiPlugin.configs.typescript,
  {
    languageOptions: {
      tsconfigRootDir: import.meta.dirname,
      project: ['tsconfig.json'],
    }
  }
];

TypeScript monorepo

eslint.config.js

import anansiPlugin from '@anansi/eslint-plugin';

export default [
  anansiPlugin.configs.typescript,
  {
    languageOptions: {
      tsconfigRootDir: import.meta.dirname,
      project: ['packages/*/tsconfig.json'],
    }
  }
];

Just JavaScript

eslint.config.js

import anansiPlugin from '@anansi/eslint-plugin';

export default [
  anansiPlugin.configs.javascript,
];

Style guidelines

TBD

Keywords

eslint

FAQs

Package last updated on 09 Aug 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