Skip to content

Releases: AfterShip/eslint-config-aftership

react 16 support

04 Jul 09:28
Compare
Choose a tag to compare

and dependency bumps

removed sort-require dependency, trust programmers for categorising deps

30 Apr 13:46
Compare
Choose a tag to compare

`require` should be sorted alphabetically

30 Apr 03:40
Compare
Choose a tag to compare
v4.4.0

bump to version 4.4.0

ban console.x from all projects

09 Feb 10:32
Compare
Choose a tag to compare
v4.3.0

bump to version 4.3.0

bumping dependencies

30 Jan 03:19
Compare
Choose a tag to compare
v4.2.1

bump to version 4.2.1

more strict react restrictions

24 Oct 03:13
Compare
Choose a tag to compare
  • [react] react/default-props-match-prop-typesdoc
  • [react] react/no-redundant-should-component-update doc
  • [react] react/no-unused-state doc

v4.0.1

30 Jun 09:49
Compare
Choose a tag to compare
  • [best-practices] - allow state's property to be assigned because vuex needs it
  • [variables] - whitelisted name, history, status, location, event to be as function parms

bump to eslint@4

28 Jun 11:01
Compare
Choose a tag to compare

4.x changes ship list

Engine

  • support node >= 6 only (npm >= 3)

Dependencies

  • drop unnecessary dependencies and peerDenpendencies like eslint-plugin-react, add them as optionalDependencies
  • bump up version of eslint as 4.1.1
  • add eslint-import-resolver-webpack, eslint-plugin-vue as optionalDependency

Features

  • better support vuejs rules using eslint-plugin-vue
  • support no framework generic frontend config as aftership/frontend

Docs

  • v3 to v4 upgrade guide
  • update why-we-chose-those-rules
  • update readme.md to indicate how to use in react projects
  • update readme.md to indicate how to use in vue projects

Rules:

Errors:

Warnings:

3.3.0

02 Feb 09:19
Compare
Choose a tag to compare
  • Add vue support

3.2.1

22 Dec 04:12
Compare
Choose a tag to compare
  • Disable import/extensions because it will throw errors when cannot resolve the path (like using resolve.alias in webpack)