This repository was archived by the owner on Aug 18, 2020. It is now read-only.
v20.0.0 - TypeScript 2.7 support
- Breaking: the version of TypeScript supported by this plugin is 2.7.x (in line with typescript-eslint-parser’s TypeScript support)
- Updated dependencies that support the new ESLint documentation URL metadata. Errors from these plugins are accompanied by a link to the documentation for the broken rule.
- Dependencies are now strictly versioned for tighter control over the exact rules the plugin enforces.
| Package | old | new |
|---|---|---|
eslint-plugin-ava |
^4.4.0 |
4.5.1 |
eslint-plugin-import |
^2.8.0 |
2.9.0 |
eslint-plugin-jest |
^21.5.0 |
21.14.1 |
eslint-plugin-lodash |
^2.5.0 |
2.6.1 |
eslint-plugin-node |
^5.2.1 |
6.0.1 |
eslint-plugin-prettier |
^2.4.0 |
2.6.0 |
eslint-plugin-promise |
^3.6.0 |
3.7.0 |
eslint-plugin-react |
^7.5.1 |
7.7.0 |
eslint-plugin-typescript |
^0.8.1 |
0.10.0 |
- Added rules:
react/forbid-dom-props(disabled)react/jsx-child-element-spacingerrorreact/jsx-max-depth(disabled)react/jsx-sort-default-props(disabled)react/no-this-in-sfcerrorimport/group-exports(disabled)import/no-self-importerrorimport/no-default-export(disabled)import/no-useless-path-segmentserrorjest/prefer-expect-assertions(disabled)jest/valid-expect-in-promiseerrorjest/valid-describeerrorjest/consistent-test-iterrorjest/no-test-prefixeserrorjest/lowercase-name(disabled)jest/no-jest-importerrorpromise/valid-paramserrorpromise/no-new-statics(disabled)typescript/explicit-function-return-type(disabled)typescript/no-non-null-assertionerror
- Updated
import/extensionsdue to changes in its implementation: some extensions are explicitly allowed inimports:.svg,.png,.jpg,.ico,.css,.sass,.scss,.less,.styl..jsonis still required as well. - Chore: updated CircleCI from v1 to v2.