Skip to content

Releases: AfterShip/eslint-config-aftership

2.3.3

09 May 03:32
Compare
Choose a tag to compare
  • Disable prefer-rest-params

2.3.2

27 Apr 09:55
Compare
Choose a tag to compare
  • Disable global-require

2.3.1

27 Apr 09:37
Compare
Choose a tag to compare
  • Add console as global variable for frontend

2.3.0

27 Apr 09:45
Compare
Choose a tag to compare
  • Disable import/no-unresolved
  • Update react/jsx-indent rule
  • Add process as front end global variable

2.2.0

27 Apr 08:58
Compare
Choose a tag to compare
  • Update eslint-config-airbnb to 8.0.0
  • Use commonjs env instead of node env in front end

2.0.2

15 Apr 06:53
Compare
Choose a tag to compare
  • Migrate eslint 1.x config to 2.x

2.0.1

15 Apr 06:13
Compare
Choose a tag to compare
  • Mark react/prefer-stateless-function as warning

2.0.0

15 Apr 06:13
Compare
Choose a tag to compare

Move to eslint 2.x and base on eslint-config-airbnb 7.0.0

1.11.1

22 Feb 03:54
Compare
Choose a tag to compare
  1. Avoid lexical declarations in case/default clauses
    refer to http://eslint.org/docs/rules/no-case-declarations, as const/let variables share across switch cases, which may lead to redeclaration of the same variables/namespace pollution, so you are required to define a block to embrace your case if you define const/let on that case
  2. Disallow unneeded ternary expressions
    refer to http://eslint.org/docs/rules/no-unneeded-ternary

1.10.1

08 Jan 07:19
Compare
Choose a tag to compare
  • Only enable env browser for front-end project