Sha256: 44abb3400753bbac0e9e7f1c6225e757b7750a2dc809a48d54f14b9f2a18c145

Contents?: true

Size: 887 Bytes

Versions: 7

Compression:

Stored size: 887 Bytes

Contents

// https://eslint.org/docs/rules/
// https://github.com/airbnb/javascript
{
  "env": {
    "browser": true,
    "node": true,
    "es6": true
  },

  extends: ['eslint:recommended'],
  "parserOptions": {
    "ecmaVersion": 6,
    "sourceType": "module",
  },

  // https://eslint.org/docs/user-guide/configuring#configuring-rules
  rules: {
    'arrow-parens':  ["error", "always"],
    'arrow-spacing': ["error", { "before": true, "after": true }],
    'block-spacing': [2, "always"],
    'comma-dangle':  ["error", "never"],
    'keyword-spacing': 2,
    'max-len': ["error", { "ignoreComments": true,
                           "ignoreTrailingComments": true}],
    'no-unused-vars': 0, // allow functions to have unused variables
    'object-curly-spacing': [2, "always"],
    'semi': [2, 'always'],
    'space-before-blocks': 2,
    'space-before-function-paren': [2,'never']
  }
}

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
kowl-0.0.7 lib/kowl/templates/dotfiles/eslintrc.js
kowl-0.0.6 lib/kowl/templates/dotfiles/eslintrc.js
kowl-0.0.5 lib/kowl/templates/dotfiles/eslintrc.js
kowl-0.0.4 lib/kowl/templates/dotfiles/eslintrc.js
kowl-0.0.3 lib/kowl/templates/dotfiles/eslintrc.js
kowl-0.0.2 lib/kowl/templates/dotfiles/eslintrc.js
kowl-0.0.1 lib/kowl/templates/dotfiles/eslintrc.js