1.0.0 • Published 11 months ago

@jhwelch/mmm-eslint-config v1.0.0

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

@jhwelch/mmm-eslint-config

This is an ESLint config for MagicMirror² Modules.

Installation

npm install --save-dev eslint @jhwelch/mmm-eslint-config

Usage

The simplest usage without any modification

// eslint.config.mjs
import mmm from '@jhwelch/mmm-eslint-config'

export default [
  ...mmm,
]

You can override the rules by extending the config. See the ESLint Documentation for more information.

// eslint.config.mjs
import mmm from '@jhwelch/mmm-eslint-config'

export default [
  ...mmm,
  {
    rules: {
      'no-unused-vars': 'warn',
    },
  },
]
1.0.0

11 months ago

0.0.1

11 months ago