New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@naturacosmeticos/eslint-config-natura

Package Overview
Dependencies
Maintainers
9
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@naturacosmeticos/eslint-config-natura

[ESLint](https://eslint.org/) rules to achieve better code, using Airbnb styles rules.

  • 2.0.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
9
Created
Source

Codacy Badge Build Status Known Vulnerabilities

Natura ESLint Configuration

What for

ESLint rules to achieve better code, using Airbnb styles rules.

The Natura ESLint configuration extends the Airbnb configuration. While Airbnb provides a decent style configuration it does not use all the available rules to help enhance code quality like the following ones among others:

Why a new eslint-config?

This project helps achieve the good maintainability need, offering a default lint for all Node.js projects.

How to use

To use this configuration install the package on your project using either npm or yarn:

npm i --save-dev '@naturacosmeticos/eslint-config-natura'

yarn add -D '@naturacosmeticos/eslint-config-natura'

We recommend you to install accepting only new patch releases (ex: ~2.0.0), once new minor releases could add new rules that can broke your pipeline.

Add @naturacosmeticos/natura to the eslint extends option in the .eslintrc file:

{
  "env": {
    "es6": true,
    "mocha": true,
    "node": true
  },
  "extends": ["@naturacosmeticos/natura"],
  "parserOptions": {
    "ecmaVersion": 2017
  },
  "settings": {
    "import/resolver": {
      "node": {
        "paths": ["src", "test"]
      }
    }
  }
}

Airbnb-base is already included, no need to add it.

How to contribute

You can contribute submitting pull requests.

Setup

Run yarn or if your use npm npm i.

Keywords

FAQs

Package last updated on 19 Jun 2020

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