Releases: FullstackAcademy/eslint-config-fullstack
Releases · FullstackAcademy/eslint-config-fullstack
Support ESLint 3.12.1
New rules:
no-await-in-loop
set to 0no-return-await
set to 1require-await
set to 1capitalized-comments
set to 0
Performance: No More Yaml
This release removes any normal dependencies from the config, using the built-in JS module instead of a YAML config. The result is a ~30% improvement in loading times on the test platform (from ~480 ms to ~330 ms), as well as a faster npm install
of course.
Version 2 — Now Supporting React/JSX
Major version bump because of a new peerDependency
, eslint-plugin-react
.
Support ESLint 3.9.0
This release covers all ESLint releases up to and including 3.9.0.
- New:
no-useless-return
set to warn (1). - New:
func-name-matching
set to warn (1). This prevents a functionfoo
from being assigned to a variable or propertybar
(with some special exceptions, e.g.module.exports = function foo () {}
). This ought to be sensible but might have some false positives; will watch for that possibility.
Support ESLint 3.6.1
This release updates the config to support ESLint releases 3.5.0, 3.6.0, and 3.6.1.
- New:
no-restricted-properties
set to 0. - New:
line-comment-position
set to 0. - New:
lines-around-directive
set to 0. - New:
prefer-numeric-literals
set to 0. - Updated:
max-len
using newignoreStrings
andignoreTemplateLiterals
options.
Support ESLint 3.4.0
This release adds new rules found in ESLint v3.4.0, and also refines / removes some existing rules.
New Rules
symbol-description
: warn if Symbol description strings are omitted. Descriptions are helpful in debugging.class-methods-use-this
: warn if ES6 class methods do not usethis
, in which case they can be madestatic
.
Updated rules
wrap-iife
: added'any'
option to allow either pattern:(function () {}())
or(function () {})()
.global-require
: turned off as there are valid reasons for selectively requiring modules.quote-props
: changed from error to warn.
Support ESLint 3.3.1
New rules:
no-template-curly-in-string
: warn if it looks like you're trying to use interpolation in a normal stringno-unsafe-negation
: error if attempting something likeif (!thing instanceof Foo)
which should probably beif (!(thing instanceof Foo))
no-global-assign
: warn if attemptingwindow = {}
or similarno-self-assign
: newprops
flag to error if doinga.b = a.b
or similarfunc-call-spacing
: warn if there is a space between function identifier and invocational parenssort-keys
: off (would alphabetize keys of objects)
Mocha 3
Support ESLint 3.2.0
Adds the no-tags
rule.
Support ESLint 3.1.0
- Removed a commented colon character in the YML file which was valid, but which caused annoying syntax coloring in some editors
- Turned on
key-spacing
with a less restrictive mode, so users could freely align key-val pairs in object literals - Turned off
callback-return
which had too many false positives