Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@gsa-tts/graymatter-eslint

Package Overview
Dependencies
Maintainers
5
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@gsa-tts/graymatter-eslint

## Package Responsibilities

latest
npmnpm
Version
0.0.2
Version published
Maintainers
5
Created
Source

@gsa-tts/graymatter-eslint

Package Responsibilities

The GrayMatter ESLint Configuration package (@gsa-tts/graymatter-eslint) provides shared ESLint configurations. It ensures consistent code quality and style across all applications and packages.

Primary Responsibilities:

  • Define and maintain shared ESLint configurations
  • Enforce consistent code style and quality standards
  • Integrate with other tools like Prettier and TypeScript
  • Provide specialized configurations for different frameworks (Svelte, Astro)
  • Reduce duplication of linting configuration

Package Boundaries:

  • SHOULD contain ESLint configuration files and rules
  • SHOULD integrate with TypeScript for type-aware linting
  • SHOULD be framework-aware (support Svelte, Astro, etc.)
  • SHOULD NOT contain application code or business logic
  • SHOULD NOT depend on application packages
  • SHOULD NOT include project-specific overrides (these belong in the consuming projects)

Usage

Installing

pnpm add -D @gsa-tts/graymatter-eslint

Basic Configuration

Create an eslint.config.mjs file in your project:

import { config } from '@gsa-tts/graymatter-eslint';

export default config;

With Project-Specific Overrides

import { config as baseConfig } from '@gsa-tts/graymatter-eslint';

export default [
  ...baseConfig,
  {
    // Project-specific overrides
  }
];

Features

  • TypeScript integration
  • Svelte support
  • Prettier integration
  • Accessibility rules
  • Best practices enforcement
  • Consistent code style

FAQs

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