@sequencemedia/eslint-config-standard

0.2.9 • Public • Published

@sequencemedia/eslint-config-standard

Standard style Flat Config for ESLint v9

Based on Standard via neostandard

Install

npm i -D @sequencemedia/eslint-config-standard

Use

In your eslint.config.* either:

export { default } from '@sequencemedia/eslint-config-standard'

Or:

import { configs } from '@sequencemedia/eslint-config-standard'

export default [
  configs.recommended
]

You can merge changes in the default configuration using the merge utility:

import merge from '@sequencemedia/eslint-config-standard/configs/recommended/merge'

export default (
  merge({
    files: [
      '**/*.{mjs,cjs}'
    ],
    ignores: [
      'lib'
    ]
  })
)

Which is equivalent to:

import { configs } from '@sequencemedia/eslint-config-standard'

export default [
  {
    ...configs.recommended,
    files: [
      '**/*.{mjs,cjs}'
    ],
    ignores: [
      'lib'
    ]
  }
]

Dependencies (6)

Dev Dependencies (4)

Package Sidebar

Install

npm i @sequencemedia/eslint-config-standard

Weekly Downloads

265

Version

0.2.9

License

ISC

Unpacked Size

18 kB

Total Files

11

Last publish

Collaborators

  • sequencemedialimited
  • jonathanperry