Socket
Book a DemoInstallSign in
Socket

@breadstone-infrastructure/eslint-config

Package Overview
Dependencies
Maintainers
1
Versions
131
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@breadstone-infrastructure/eslint-config

Shared eslint configuration

0.0.135
latest
Source
npmnpm
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
ย 
Created
Source

๐Ÿ“ฆ @breadstone-infrastructure/eslint-config

Package StatusSource
npmlibs/infrastructure/eslint-config

Opinionated and extensible ESLint configuration for modern web development. Supports Angular, React, Lit, Vue, and more โ€” with first-class TypeScript integration.

๐Ÿ“ Project Structure

Part of the monorepo breadstone-infrastructure Package path: libs/infrastructure/eslint-config Version: see npm License: MIT

๐Ÿ“ฆ Installation

yarn add -D @breadstone-infrastructure/eslint-config

# or with npm:
npm install --save-dev @breadstone-infrastructure/eslint-config

๐Ÿ”ง Usage

Create or update your eslint.config.mjs:

import { configs } from '@breadstone-infrastructure/eslint-config';

export default [
    // base rule set (including typical js rules)
    ...configs.base,
    // TypeScript rule set (including import path validation)
    ...configs.typescript,
    // Angular rule set
    ...configs.angular,
    // React rule set
    ...configs.react,
    // Vue rule set
    ...configs.vue,
    // Web Components & Lit element rule set
    ...configs.lit,
    // Markdown linting
    ...configs.markdown,
    // JSON formatting and validation
    ...configs.json,
    // Basic HTML linting
    ...configs.html
];

๐Ÿ’ก You can combine individual configs as needed.

โš™๏ธ Available Configurations (configs)

NameDescription
configs.baseBase rules for all projects
configs.typeScriptTypeScript + import path validation
configs.angularAngular best practices
configs.reactReact with JSX and hooks optimizations
configs.vueVue 3 (script setup supported)
configs.litWeb Components & Lit element rules
configs.markdownLinting for Markdown content
configs.jsonFormatting and validation for JSON
configs.htmlBasic linting for HTML files

๐Ÿงช Example: Minimal Setup for Angular + TypeScript

import { configs } from '@breadstone-infrastructure/eslint-config';

export default [
  ...configs.base,
  ...configs.typescript,
  ...configs.angular
];

๐Ÿ›  Recommendations

  • Use eslint.config.mjs (Flat Config) โ€“ .eslintrc.* is deprecated.
  • In Nx or monorepo setups, you can combine multiple eslint.config.mjs files per project or lib.

๐Ÿ“ฆ Publishing

yarn nx run eslint-config:publish

For maintainers only โ€” uses Changesets or manual publishing.

๐Ÿ“„ License

MIT ยฉ Breadstone

FAQs

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with โšก๏ธ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.