0.3.0 • Published 12 months ago

@langri-sha/projen-eslint v0.3.0

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

@langri-sha/projen-eslint

A projen component for configuring ESLint.

Usage

Install dependencies:

npm install -D eslint @langri-sha/projen-eslint

Then, create an ESLint component for your project:

import { Project } from 'projen'
import { ESLint } from '@langri-sha/projen-eslint'

const project = new Project({
  name: 'my-project',
})

new ESLint(project, {
  ignorePatterns: ['.*'],
  extends: '@langri-sha/eslint-config'
  config: [
    {
      rules: {
        'unicorn/prefer-node-modules': 'error'
      }
    }
  ]
})
0.3.0

12 months ago

0.2.1

12 months ago

0.2.0

1 year ago

0.1.0

1 year ago