-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: No warnings in test directory (#70)
* fix: No warnings in test directory * doc: selfreview * doc:Add exclusion of _test.dart * doc: revise commit * doc: Delete test-related comments * fix: Changed from lint_test to test * fix: Change from test to lint_test * fix: Correction of directory location * fix: avoid_harded_color true * fix: selfreview * Update packages/altive_lints/example/test/avoid_hardcoded_japanese_test.dart Co-authored-by: Ryunosuke Muramatsu <[email protected]> * fix: Correction. --------- Co-authored-by: Ryunosuke Muramatsu <[email protected]>
- Loading branch information
Showing
16 changed files
with
13 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -12,4 +12,5 @@ dependencies: | |
dev_dependencies: | ||
altive_lints: | ||
path: ../ | ||
clock: ^1.1.2 | ||
custom_lint: ^0.6.5 |
9 changes: 9 additions & 0 deletions
9
packages/altive_lints/example/test/avoid_hardcoded_japanese_test.dart
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
// Check the `avoid_hardcoded_japanese` rule. | ||
// | ||
// It should exclude warnings for the entire `test` directory. | ||
|
||
const hiragana = 'あいうえお'; | ||
|
||
const katakana = 'アイウエオ'; | ||
|
||
const kanji = '漢字'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.