Skip to content

Conversation

@nickserv
Copy link
Contributor

No description provided.

@nickserv
Copy link
Contributor Author

@cellog Fixes CI failure after merging #3515 and #3516

{
files: 'test/**/*.js',
env: {
jest: true
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I removed this because it's no longer necessary, as all the test files are now in TypeScript, and TypeScript will make sure the Jest globals are used properly

@nickserv nickserv changed the title Fix linter configuration for test files TypeScript: Fix linter configuration for test files Aug 18, 2019
'@typescript-eslint/no-namespace': 'off',
'@typescript-eslint/no-unused-vars': 'off'
}
}
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

These rules aren't useful for the TypeScript tests because the code doesn't actually run, it's just meant to be typechecked

@timdorr timdorr merged commit aa8b325 into reduxjs:ts-conversion Aug 19, 2019
webMasterMrBin pushed a commit to webMasterMrBin/redux that referenced this pull request Aug 21, 2021
* Fix linter configuration for test files

* Add separate ESLint config to test/typescript

* Also lint TypeScript files in examples


Former-commit-id: 27bf970
Former-commit-id: 21540b4
webMasterMrBin pushed a commit to webMasterMrBin/redux that referenced this pull request Aug 21, 2021
* Fix linter configuration for test files

* Add separate ESLint config to test/typescript

* Also lint TypeScript files in examples


Former-commit-id: 27bf970
Former-commit-id: 21540b4
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants