New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ability to disable "titleMustBeString" in valid-title rule #470
Comments
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.21.0 to 23.0.2. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v22.21.0...v23.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> See: jest-community/eslint-plugin-jest#470
@mrtnzlml thanks for raising this issue! It's actually already possible for However, that's about as far as we can go as any further would require us to implement effectively a static analyzer, as we'd have to track variables & identifiers all over the codebase we're linting to determine their type compatibility. (Our previous discussion about this happened here) However, you can simply wrap your variable in template strings, like so: This is actually a good idea to do anyway, b/c |
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.21.0 to 23.0.2. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v22.21.0...v23.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> See: jest-community/eslint-plugin-jest#470
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.21.0 to 23.0.2. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v22.21.0...v23.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> See: jest-community/eslint-plugin-jest#470
Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 22.21.0 to 23.0.2. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md) - [Commits](jest-community/eslint-plugin-jest@v22.21.0...v23.0.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com> See: jest-community/eslint-plugin-jest#470 adeira-source-id: e69d3c0763df845bd26f4b960be8461ed5c2c8e5
See: jest-community/eslint-plugin-jest#470 (comment) adeira-source-id: 594a91ef3798662ca61379abbba0ef7b6d04117b
Hello! :)
We really like
valid-title
rule; however, it got too opinionated in latest releases without possibility to configure it (so we had to disable it altogether 馃槩). More specifically we would need to disable just thetitleMustBeString
part because we sometimes generate the tests dynamically like here: https://github.com/adeira/universe/blob/e6489c667dbed90273d9e7feb3bf494e9fb33241/src/monorepo-scanner/src/scans/WorkspacesDependencies.scan.js#L45Would you please consider making it configurable? Thank you very much! :)
The text was updated successfully, but these errors were encountered: