Skip to content

Commit

Permalink
chore: Update dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
yvele committed Oct 15, 2017
1 parent e5b291a commit be4a93c
Show file tree
Hide file tree
Showing 5 changed files with 1,578 additions and 646 deletions.
15 changes: 0 additions & 15 deletions .eslintrc

This file was deleted.

40 changes: 40 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
module.exports = {
parser : "babel-eslint",
extends : "airbnb-base",
rules : {

// Enforce the consistent use of double quotes
quotes : ["error", "double", { avoidEscape: true }],

// Allow bitwise operators
"no-bitwise" : "off",

// Allow the unary operators ++ and --
"no-plusplus" : "off",

// Require or disallow trailing commas
"comma-dangle": ["error", "only-multiline"],

// Disallow Reassignment of Function Parameters
"no-param-reassign" : ["error", { props: false }],

// Enforce consistent spacing between keys and values in object literal properties
"key-spacing" : ["error", {
singleLine : {
beforeColon : false,
afterColon : true
},
multiLine : {
beforeColon : true,
afterColon : true,
mode : "minimum"
}
}],

// Disallow multiple spaces
"no-multi-spaces" : ["error", { ignoreEOLComments: true }],

// Require or disallow padding within blocks
"padded-blocks": ["error", { classes: "always" }]
}
};
Loading

0 comments on commit be4a93c

Please sign in to comment.