Socket
Book a DemoInstallSign in
Socket

@goatlab/eslint

Package Overview
Dependencies
Maintainers
0
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@goatlab/eslint

Shared ESLint configuration for the Goat Fluent monorepo, providing consistent TypeScript, Jest, and code quality rules across all packages.

latest
npmnpm
Version
0.2.0
Version published
Maintainers
0
Created
Source

@goatlab/eslint

Shared ESLint configuration for the Goat Fluent monorepo, providing consistent TypeScript, Jest, and code quality rules across all packages.

Installation

pnpm add -D @goatlab/eslint eslint

Usage

Create an .eslintrc.js file in your package root:

module.exports = require('@goatlab/eslint/eslint.config.js')

Or extend it with custom rules:

const baseConfig = require('@goatlab/eslint/eslint.config.js')

module.exports = {
  ...baseConfig,
  // your custom overrides
}

What's Included

  • TypeScript Support: Full TypeScript linting with type-aware rules via @typescript-eslint
  • Code Quality: Airbnb base configuration with custom rules for consistent code style
  • Jest Integration: Automatically includes Jest rules when Jest is installed in your project
  • Import Management: Import ordering and unused import detection
  • Framework Support: Vue.js file support with proper parser configuration
  • Prettier Integration: Configured to work seamlessly with Prettier formatting
  • Unicorn Rules: Best practices and improvements via eslint-plugin-unicorn

Key Features

  • Automatically detects Jest and applies testing rules only when needed
  • Strict naming conventions (camelCase for variables/functions, PascalCase for types)
  • Comprehensive error prevention rules
  • Optimized for TypeScript projects with proper type checking
  • Ignores common build artifacts (node_modules, dist, coverage, .turbo)

FAQs

Package last updated on 26 Jul 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