Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ jobs:
- run: yarn --no-progress --frozen-lockfile
- save-cache: *save-cache
- run: echo server.max_workers=1 >> .flowconfig
- run: yarn lint --format junit -o reports/junit/js-lint-results.xml && yarn typecheck && yarn lint-es5-build --format junit -o reports/junit/js-es5-lint-results.xml && yarn lint:md:ci && yarn check-copyright-headers
- run: yarn lint --format junit -o reports/junit/js-lint-results.xml && yarn lint-es5-build --format junit -o reports/junit/js-es5-lint-results.xml && yarn lint:md:ci && yarn check-copyright-headers
- store_test_results:
path: reports/junit

Expand Down
29 changes: 1 addition & 28 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
* LICENSE file in the root directory of this source tree.
*/

const customImportResolver = require.resolve('./eslintImportResolver');

module.exports = {
extends: [
'./packages/eslint-config-fb-strict/index.js',
Expand Down Expand Up @@ -66,31 +64,11 @@ module.exports = {
},
},
{
files: ['types/**/*', 'packages/jest-types/**/*'],
files: ['packages/jest-types/**/*'],
rules: {
'import/no-extraneous-dependencies': 0,
},
},
{
files: [
'e2e/__tests__/**/*.js',
'packages/babel-jest/**/*.test.js',
'packages/babel-plugin-jest-hoist/**/*.test.js',
'packages/babel-preset-jest/**/*.test.js',
'packages/eslint-config-fb-strict/**/*.test.js',
'packages/eslint-plugin-jest/**/*.test.js',
'packages/jest-changed-files/**/*.test.js',
'packages/jest-circus/**/*.test.js',
'packages/jest-diff/**/*.test.js',
'packages/jest-docblock/**/*.test.js',
'packages/jest-editor-support/**/*.test.js',
'packages/jest/**/*.test.js',
'packages/pretty-format/**/*.test.js',
],
rules: {
'flowtype/require-valid-file-annotation': [2, 'always'],
},
},
{
files: [
'website/**',
Expand Down Expand Up @@ -133,11 +111,6 @@ module.exports = {
},
settings: {
'import/resolver': {
[customImportResolver]: {
moduleNameMapper: {
'^types/(.*)': './types/$1',
},
},
'eslint-import-resolver-typescript': true,
},
},
Expand Down
23 changes: 0 additions & 23 deletions .flowconfig

This file was deleted.

2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@

### Chore & Maintenance

- `[*]` Remove flow from code base ([#8061](https://github.com/facebook/jest/pull/8061))

### Performance

## 24.5.0
Expand Down
82 changes: 0 additions & 82 deletions eslintImportResolver.js

This file was deleted.

12 changes: 0 additions & 12 deletions flow-typed/co.js

This file was deleted.

32 changes: 0 additions & 32 deletions flow-typed/console.js

This file was deleted.

167 changes: 0 additions & 167 deletions flow-typed/graceful-fs.js

This file was deleted.

Loading