googlearchive / pedantic

How to get the most value from Dart static analysis
https://pub.dev/packages/pedantic
BSD 3-Clause "New" or "Revised" License
324 stars 56 forks source link

Feature request: find hardcoded strings #79

Closed houdayec closed 3 years ago

houdayec commented 3 years ago

Would it be possible to have a detection of hardcoded strings through the project. Once we have finished our project and want to internationalize it, it is painful to search for strings contained in " and ' through dozens of file.

I might be wrong, but I didn't find a proper solution to find them all easily.

davidmorgan commented 3 years ago

This package is just about what settings you use, for the linter itself please see the dart-lang/linter repo ... it looks like there is already a request open for what you want :)

https://github.com/dart-lang/linter/issues/2376