No Problem, Meatbag

    eslint-config-devsu-node

    0.0.4 • Public • Published

    eslint-config-devsu-node (deprecated)

    Devsu's ESLint shareable configs for node applications.

    Deprecated

    This module is now deprecated, this configurations will be available through the package eslint-config-devsu extending devsu/node config.

    Usage

    Add eslint and eslint-config-devsu-node to devDependencies in your package.json:

    npm install --save-dev eslint eslint-config-devsu-node
    

    In your project root, create/edit .eslintrc:

    {
      "extends": "devsu-node"
    }
    

    Change in package.json your run script to add a lint property:

    ...
    "scripts": {
      "lint": "eslint ."
    },
    ...
    

    Try our rules by running:

    npm run lint
    

    Overriding rules

    To override a particular rule, use the rules key:

    {
      "extends": "devsu-node",
      "rules": {
        "comma-dangle": "off"
      }
    }
    

    Install

    npm i eslint-config-devsu-node

    DownloadsWeekly Downloads

    0

    Version

    0.0.4

    License

    MIT

    Last publish

    Collaborators

    • c3s4r
    • devsu