0.1.2 • Published 6 months ago

@eslinter/eslint-config-standard v0.1.2

Weekly downloads
-
License
MIT
Repository
github
Last release
6 months ago

@eslinter/eslint-config-standard

GitHub Actions Workflow Status Codecov type-coverage CodeRabbit Pull Request Reviews npm GitHub Release

Conventional Commits Renovate enabled JavaScript Style Guide Code Style: Prettier changesets

Actively maintained fork of eslint-config-standard: ESLint Config for JavaScript Standard Style

TOC

The ESLint config of JavaScript Standard Style

JavaScript Style Guide - Standard Style

This module is for advanced users. You probably want to use standard instead :)

Usage

This package exports a flat ESLint configuration on the main @eslinter/eslint-config-standard entry, and also exports a legacy ESLintrc configuration on the @eslinter/eslint-config-standard/legacy entry.

# npm
npm install -D eslint @eslinter/eslint-config-standard

# yarn
yarn add -D eslint @eslinter/eslint-config-standard

# pnpm
pnpm add -D eslint @eslinter/eslint-config-standard

# bun
bun add -D eslint @eslinter/eslint-config-standard

Flat config

Example eslint.config.js:

import standard from '@eslinter/eslint-config-standard'

export default [
  standard,
  {
    // your overrides here
  },
]

Legacy ESLintrc config

Example .eslintrc.json:

{
  "extends": "@eslinter/eslint-config-standard/legacy",
  "overrides": [
    {
      // your overrides here
    },
  ],
}

Learn more

For the full listing of rules, editor plugins, FAQs, and more, visit the main JavaScript Standard Style repo.

Sponsors and Backers

Sponsors and Backers

Sponsors

1stGRxTSUnTS
1stG Open Collective sponsorsRxTS Open Collective sponsorsUnTS Open Collective sponsors

Backers

1stGRxTSUnTS
1stG Open Collective backersRxTS Open Collective backersUnTS Open Collective backers

Changelog

Detailed changes for each release are documented in CHANGELOG.md.

License

MIT © JounQin@1stG.me