Socket
Book a DemoInstallSign in
Socket

@nimblehq/eslint-config-nimble-testing

Package Overview
Dependencies
Maintainers
3
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nimblehq/eslint-config-nimble-testing

ESLint testing plugin extension configuration developed and maintained by Nimble

latest
Source
npmnpm
Version
1.3.0
Version published
Maintainers
3
Created
Source

@nimblehq/eslint-config-nimble-testing

This package provides ESLint testing rules inheriting from @nimblehq/eslint-config-nimble-core.

Caution

@nimblehq/eslint-config-nimble-testing includes jest and cypress as the primary test suite stack. Consider if the targeting project is not using those libraries.

Installation

  npm install --save-dev @nimblehq/eslint-config-nimble-testing

Usage

Standalone

Add @nimblehq/eslint-config-nimble-testing to the extends section of your .eslintrc configuration file.

{
  "extends": [
      "@nimblehq/eslint-config-nimble-testing"
  ],
  "rules": {
    // Additional, per-project rules...
  }
}

With a framework

Similar to the process above, but usually it requires adding the extra rules for the JS framework:

{
  "extends": [
      "@nimblehq/eslint-config-nimble-testing",
      "plugin:react/recommended",
      "plugin:vue/recommended"
  ],
  "rules": {
    // Additional, per-project rules...
  }
}

This would require defining the required dependencies in the project itself.

License

This project is Copyright (c) 2021 and onwards Nimble. It is free software and may be redistributed under the terms specified in the LICENSE file.

About

Nimble

This project is maintained and funded by Nimble.

We love open source and do our part in sharing our work with the community! See our other projects or hire our team to help build your product.

Keywords

eslint

FAQs

Package last updated on 13 Mar 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