mirror of
https://github.com/kuhyx/testsAndMisc.git
synced 2026-11-24 11:06:18 +01:00
Exempt the generated policy asset from prettier
focus_owner/assets/policy.json is rendered by json.dumps, which cannot reproduce prettier's single-line-short-array style, so every regeneration would reintroduce a formatting diff. Format pubspec.yaml, which is hand-edited and has no such conflict. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01AwepyL5Lxs5QKbKkMpxxxL
This commit is contained in:
parent
e3d5e1dd18
commit
c299f95a9b
@ -15,3 +15,8 @@ node_modules/
|
|||||||
# `accepts bare JPK payload and bare JWS token`, whose regex matches
|
# `accepts bare JPK payload and bare JWS token`, whose regex matches
|
||||||
# `"data":"..."` with no space after the colon.
|
# `"data":"..."` with no space after the colon.
|
||||||
billsplit/test/fixtures/
|
billsplit/test/fixtures/
|
||||||
|
|
||||||
|
# Generated by `python3 -m python_pkg.focus_policy` from phone_focus_mode/config.sh.
|
||||||
|
# json.dumps cannot reproduce prettier's single-line-short-array style, so
|
||||||
|
# formatting it here would conflict with every regeneration.
|
||||||
|
focus_owner/assets/policy.json
|
||||||
|
|||||||
@ -2,7 +2,7 @@ name: focus_owner
|
|||||||
description: "A new Flutter project."
|
description: "A new Flutter project."
|
||||||
# The following line prevents the package from being accidentally published to
|
# The following line prevents the package from being accidentally published to
|
||||||
# pub.dev using `flutter pub publish`. This is preferred for private packages.
|
# pub.dev using `flutter pub publish`. This is preferred for private packages.
|
||||||
publish_to: 'none' # Remove this line if you wish to publish to pub.dev
|
publish_to: "none" # Remove this line if you wish to publish to pub.dev
|
||||||
|
|
||||||
# The following defines the version and build number for your application.
|
# The following defines the version and build number for your application.
|
||||||
# A version number is three numbers separated by dots, like 1.2.43
|
# A version number is three numbers separated by dots, like 1.2.43
|
||||||
@ -51,7 +51,6 @@ dev_dependencies:
|
|||||||
|
|
||||||
# The following section is specific to Flutter packages.
|
# The following section is specific to Flutter packages.
|
||||||
flutter:
|
flutter:
|
||||||
|
|
||||||
# The following line ensures that the Material Icons font is
|
# The following line ensures that the Material Icons font is
|
||||||
# included with your application, so that you can use the icons in
|
# included with your application, so that you can use the icons in
|
||||||
# the material Icons class.
|
# the material Icons class.
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user