Skip to content

Commit 1ed8edc

Browse files
greenkeeperio-botglebec
authored andcommitted
Update eslint to version 3.6.1 🚀 (#15)
* chore(package): update eslint to version 3.6.1 https://greenkeeper.io/ * support 3.5.0 * 1.7.0
1 parent 8a508af commit 1ed8edc

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.eslintrc.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ rules: # http://eslint.org/docs/rules/
102102
no-param-reassign: 0 # disallow reassigning `function` parameters
103103
no-proto: 2 # disallow the use of the `__proto__` property
104104
no-redeclare: [1, {builtinGlobals: true}] # disallow `var` redeclaration
105+
no-restricted-properties: 0 # disallow certain properties on certain objects
105106
no-return-assign: [1, 'always'] # disallow assignment operators in `return` statements
106107
no-script-url: 2 # disallow `javascript` urls
107108
no-self-assign: [2, {props: true}] # disallow assignments where both sides are exactly the same
@@ -171,10 +172,12 @@ rules: # http://eslint.org/docs/rules/
171172
jsx-quotes: [1, 'prefer-double'] # enforce the consistent use of either double or single quotes in JSX attributes
172173
key-spacing: [1, {mode: 'minimum'}] # enforce consistent spacing between keys and values in object literal properties
173174
keyword-spacing: 1 # enforce consistent spacing before and after keywords
175+
line-comment-position: 0 # enforce position of line comments
174176
linebreak-style: 1 # enforce consistent linebreak style
175177
lines-around-comment: 0 # require empty lines around comments
178+
lines-around-directive: 0 # require or disallow newlines around directives
176179
max-depth: [1, {max: 6}] # enforce a maximum depth that blocks can be nested
177-
max-len: [0, 100] # enforce a maximum line length
180+
max-len: [0, {code: 100, ignoreStrings: true, ignoreTemplateLiterals: true}] # enforce a maximum line length
178181
max-lines: [0, {max: 300}] # enforce a maximum file length
179182
max-nested-callbacks: [1, {max: 6}] # enforce a maximum depth that callbacks can be nested
180183
max-params: [1, {max: 6}] # enforce a maximum number of parameters in `function` definitions
@@ -250,6 +253,7 @@ rules: # http://eslint.org/docs/rules/
250253
object-shorthand: 0 # require or disallow method and property shorthand syntax for object literals
251254
prefer-arrow-callback: 0 # require arrow functions as callbacks
252255
prefer-const: 0 # require `const` declarations for variables that are never reassigned after declared
256+
prefer-numeric-literals: 0 # disallow `parseInt()` in favor of binary, octal, and hexadecimal literals
253257
prefer-reflect: 0 # require `Reflect` methods where applicable
254258
prefer-rest-params: 0 # require rest parameters instead of arguments
255259
prefer-spread: 0 # require spread operators instead of `.apply()`

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "eslint-config-fullstack",
3-
"version": "1.6.0",
3+
"version": "1.7.0",
44
"description": "a complete starter ESLint config file to help students avoid errors and learn best practices",
55
"main": "index.js",
66
"scripts": {
@@ -36,7 +36,7 @@
3636
},
3737
"devDependencies": {
3838
"chai": "^3.5.0",
39-
"eslint": "~3.4.0",
39+
"eslint": "~3.6.1",
4040
"mocha": "^3.0.0"
4141
}
4242
}

0 commit comments

Comments
 (0)