@form8ion/eslint

opinionated scaffolder for managing the ESLint configuration for a project

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
@form8ion/eslint
024.0.02 months agoa year agoMinified + gzip package size for @form8ion/eslint in KB

Readme

eslint
opinionated scaffolder for managing the ESLint configuration for a project

!Node CI Workflow Statusgithub-actions-ci-badgegithub-actions-ci-link

Table of Contents

Installation Example
* [Import](#import)
* [Execute](#execute)
Dependencies Verification

Usage


!MIT licenselicense-badgelicense-link !npmnpm-badgenpm-link !Try @form8ion/eslint on RunKitrunkit-badgerunkit-link !nodenode-badge

Installation

$ npm install @form8ion/eslint --save

Example

Import

import {lift, scaffold} from '@form8ion/eslint';

Execute

(async () => {
  await scaffold({projectRoot: process.cwd(), config: {scope: '@foo'}});

  await lift({
    projectRoot: process.cwd(),
    results: {
      eslint: {configs: ['mocha', 'react'], ignore: {directories: []}},
      buildDirectory: 'lib'
    }
  });
})();

Contributing


!PRs WelcomePRs-badgePRs-link !Commitizen friendlycommitizen-badgecommitizen-link !Conventional Commitscommit-convention-badgecommit-convention-link !semantic-releasesemantic-release-badgesemantic-release-link !Renovaterenovate-badgerenovate-link

Dependencies

$ nvm install
$ npm install

Verification

$ npm test