1.0.1 • Published 3 years ago

eslint-config-goodbyte v1.0.1

Weekly downloads
2
License
ISC
Repository
github
Last release
3 years ago

eslint-config-goodbyte

ESLint shareable config with my own style of coding.

Description

This config is the result of merging eslint:recommended, Standard and Google, plus the following overrides:

rules: [
  'require-jsdoc': 'off',
  'eol-last': 'off',
  'linebreak-style': 'off',
  semi: ['error', 'always'],
  'comma-dangle': ['error', 'always-multiline'],
  'object-curly-spacing': [
    'error', 'never',
  ],
  'space-before-function-paren': [
    'error', {
      asyncArrow: 'always',
      anonymous: 'never',
      named: 'never',
    },
  ],
]

Installation

$ npm install --save-dev eslint eslint-config-goodbyte

Usage

Once the eslint-config-goodbyte package is installed, you can use it by specifying goodbyte in the extends section of your ESLint configuration.

{
  "extends": "goodbyte",
  "rules": {
    // Additional, per-project rules...
  }
}

License

ISC License