diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..bde399a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.{dart,yaml,yml,json,md}] +indent_style = space +indent_size = 2 + +[Makefile] +indent_style = tab diff --git a/.wiki/Home.md b/.wiki/Home.md index d18314f..4bc0eef 100644 --- a/.wiki/Home.md +++ b/.wiki/Home.md @@ -20,5 +20,5 @@ print('Visible naked eye: ${vis.isVisibleNakedEye}'); ## Pages -- [API Reference](API-Reference) — Full function and type reference -- [Visibility Criteria](Visibility-Criteria) — Yallop and Odeh crescent visibility criteria +- [API Reference](API-Reference): Full function and type reference +- [Visibility Criteria](Visibility-Criteria): Yallop and Odeh crescent visibility criteria diff --git a/README.md b/README.md index 9ac1ad1..3a2ac08 100644 --- a/README.md +++ b/README.md @@ -134,7 +134,7 @@ The full-mode features (DE442S JPL ephemeris, sub-arcsecond accuracy, rise/set e ## Architecture -Two-mode design: lite mode uses Jean Meeus Chapters 47 and 48 for moon phase, position, and illumination — zero dependencies, no file I/O, works in any Dart environment. The GCRS-to-topocentric conversion applies ERA-only Earth rotation (no full nutation/precession), which introduces a ~1 degree systematic error acceptable for display and quick-estimate use cases. +Two-mode design: lite mode uses Jean Meeus Chapters 47 and 48 for moon phase, position, and illumination: zero dependencies, no file I/O, works in any Dart environment. The GCRS-to-topocentric conversion applies ERA-only Earth rotation (no full nutation/precession), which introduces a ~1 degree systematic error acceptable for display and quick-estimate use cases. Full-mode features (DE442S ephemeris, sub-arcsecond accuracy, rise/set event finding) are in the TypeScript [moon-sighting](https://github.com/acamarata/moon-sighting) package.