eslint-config-protect-me-from-my-stupidity
Advanced tools
Comparing version 2.0.2 to 2.0.3
@@ -5,2 +5,10 @@ # Changelog | ||
## [2.0.3] (2018-01-04) | ||
### Changed | ||
- Updated the `no-use-before-define` rule to allow functions to be used before they are defined. | ||
- Switched the `prefer-template` rule off. | ||
- Updated the `max-len` rule to allow lines to go up to 120 characters in length. | ||
## [2.0.2] (2018-01-02) | ||
@@ -7,0 +15,0 @@ |
{ | ||
"name" : "eslint-config-protect-me-from-my-stupidity", | ||
"version" : "2.0.2", | ||
"version" : "2.0.3", | ||
@@ -6,0 +6,0 @@ "description" : "An opinionated ESLint configuration that shall protect you from your stupidity when writing JavaScript.", |
@@ -141,3 +141,3 @@ 'use strict'; | ||
"no-unused-vars" : "error", | ||
"no-use-before-define" : "error", | ||
"no-use-before-define" : ["error", "nofunc"], | ||
"callback-return" : ["error", ["done", "callback", "next", "resolve", "reject"]], | ||
@@ -185,3 +185,3 @@ "global-require" : "error", | ||
"max-depth" : ["error", 3], | ||
"max-len" : ["error", { "code" : 100, "ignoreComments" : true, "ignoreStrings" : true, "ignoreTemplateLiterals" : true, "ignoreRegExpLiterals" : true }], | ||
"max-len" : ["error", { "code" : 120, "ignoreComments" : true, "ignoreStrings" : true, "ignoreTemplateLiterals" : true, "ignoreRegExpLiterals" : true }], | ||
"max-lines" : "off", | ||
@@ -267,3 +267,3 @@ "max-nested-callbacks" : ["error", 3], | ||
"prefer-spread" : "error", | ||
"prefer-template" : "error", | ||
"prefer-template" : "off", | ||
"require-yield" : "error", | ||
@@ -270,0 +270,0 @@ "rest-spread-spacing" : "error", |
27076