@noveo/eslint-config-codestyle

Shareable configuration package with code style settings

Stats

StarsIssuesVersionUpdatedCreatedSize
@noveo/eslint-config-codestyle
2.1.02 years ago3 years agoMinified + gzip package size for @noveo/eslint-config-codestyle in KB

Readme

@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

If you find any bugs or have a feature request, please open an issue on github!

The npm package download data comes from npm's download counts api and package details come from npms.io.