Skip to content

Commit

Permalink
reorder of eslintrc + comments.
Browse files Browse the repository at this point in the history
  • Loading branch information
paulirish committed Dec 13, 2016
1 parent 87a58fe commit 0e131e2
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions .eslintrc.js
@@ -1,9 +1,12 @@
module.exports = {
// start with google standard style
// https://github.com/google/eslint-config-google/blob/master/index.js
"extends": "google",
"env": {
"node": true
},
"rules": {
// 2 == error, 1 == warning, 0 == off
"max-len": [2, 100, {
"ignoreComments": true,
"ignoreUrls": true,
Expand All @@ -25,14 +28,16 @@ module.exports = {
"varsIgnorePattern": "(^_$)"
}],
"quotes": [2, "single"],
"strict": [2, "global"],
"prefer-const": 2,

// Disabled rules
"require-jsdoc": 0,
"valid-jsdoc": 0,
"comma-dangle": 0,
"prefer-const": 2,
"arrow-parens": 0,
// Compat: support for rest params is behind a flag for node v5.x
"prefer-rest-params": 0,
"arrow-parens": 0,
"strict": [2, "global"]
},
"parserOptions": {
"ecmaVersion": 6,
Expand Down

0 comments on commit 0e131e2

Please sign in to comment.