Skip to content

Latest commit

 

History

History
39 lines (26 loc) · 1.83 KB

migration-from-7-to-8.md

File metadata and controls

39 lines (26 loc) · 1.83 KB

Migration Guide from v7.x to v8.x

The main motivation for this is upgrading linters to their latest major versions.

Jest

eslint-config-skyscanner will try to detect automatically the version of Jest installed.

If your project doesn't use it or it is not installed in the same package.json as eslint-config-skyscanner, it must be manually set in .eslintrc to your desired version:

"settings": {
  "jest": {
    "version": "VERSION"
  }
}

Breaking rules that have been disabled

Breaking rules we are keeping without changes

Breaking rules we are keeping with changes

General breaking rules

The change from v7 to v8 includes the following updates:

  • Upgraded linter dependencies. See CHANGELOG
  • eslint no-longer supports Node 6 and Node 8.