@volebonet/eslint-config-volebonet

ESLint rules for volebo.net


Keywords
styleguide, config, eslintconfig, eslint, javascript, volebonet, eslint-config
License
MIT
Install
npm install @volebonet/eslint-config-volebonet@1.0.0

Documentation

eslint-config-volebo

################################################################################
#                                                                              #
# db    db  .8888.  dP     888888b 8888ba   .8888.     d8b   db 888888b d8888P #
# 88    88 d8'  `8b 88     88      88  `8b d8'  `8b    88V8  88 88        88   #
# Y8    8P 88    88 88    a88aaa   88aa8P' 88    88    88 V8 88 88aaa     88   #
# `8b  d8' 88    88 88     88      88  `8b 88    88    88  V888 88        88   #
#  `8bd8'  Y8.  .8P 88     88      88  .88 Y8.  .8P dP 88   V88 88        88   #
#    YP     `888P'  88888P 888888P 888888'  `888P'  88 VP    8P 888888P   dP   #
#                                                                              #
################################################################################

npm version Build Status npm downloads Known Vulnerabilities

Common style guide for all Volebo.Net projects

Install

npm install eslint-config-volebo -S

Usage

Just paste this to the .eslintrc.js in the root of your project:

exports = module.exports = {
  'extends': [
    'eslint-config-volebo',
  ],
}

Old eslint versions

Long time ago eslint didn't have such a good support of shared configs, (see this issue), but now it does.

If you are still using the old eslint this can help:

const path = require('path')

exports = module.exports = {
  'extends': [
    path.join(__dirname,
      'node_modules',
      'eslint-config-volebo',
      'index.js'
    )
  ]
}

License

LICENSE here