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

@noveo/eslint-config-codestyle

Package Overview
Dependencies
Maintainers
7
Versions
8
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@noveo/eslint-config-codestyle

Shareable configuration package with code style settings

  • 2.1.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
7
Created
Source

@noveo/eslint-config-codestyle

This module add eslint config and pre-commit hook based on AirBnB Style Guid with few differences:

"rules": {
    "indent": ["error", 4],
    "strict": [2, "global"],
    "no-console": "error",
    "require-jsdoc": ["error", {
        "require": {
            "FunctionDeclaration": true,
            "MethodDefinition": true,
            "ClassDeclaration": true,
            "ArrowFunctionExpression": true,
            "FunctionExpression": true
        }
    }],
    "valid-jsdoc": ["error", {
        "requireReturn": false,
        "preferType": {
            "boolean": "Boolean",
            "number": "Number",
            "object": "Object",
            "string": "String"
        }
    }],
    "comma-dangle": ["off", {
        "arrays": "always-multiline",
        "objects": "always-multiline",
        "imports": "always-multiline",
        "exports": "always-multiline",
        "functions": "always-multiline"
    }]
}

Install

npm install @noveo/eslint-config-codestyle --save-dev

Keywords

FAQs

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