Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@form8ion/eslint

Package Overview
Dependencies
Maintainers
2
Versions
39
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@form8ion/eslint

opinionated scaffolder for managing the ESLint configuration for a project

  • 6.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1K
decreased by-38.29%
Maintainers
2
Weekly downloads
 
Created
Source

eslint

opinionated scaffolder for managing the ESLint configuration for a project

Node CI Workflow Status Codecov SLSA Level 2

Table of Contents

Features

Scaffolder

  • creates an initial .eslintrc.yml config file for the project
  • extends the base shareable eslint-config package defined by config.scope
  • defines the lint and fix scripts
  • ignores the cache file from the VCS

Lifter

  • ignores linting of paths defined in
    • results.buildDirectory
    • results.eslint.ignore.directories
  • extends configs defined in results.eslint.configs, using the scope of the base config already defined in the .eslintrc.yml

Usage

MIT license npm Try @form8ion/eslint on RunKit node

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 Welcome Commitizen friendly Conventional Commits semantic-release Renovate

Dependencies

$ nvm install
$ npm install

Verification

$ npm test

FAQs

Package last updated on 19 Jan 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc