Go to file
Damien Elmes e63b4b9927 Experiment with disabling prettier whitespace sensitivity
Prettier by default tries to preserve whitespace around inline tags,
which can prevent problems such as a space before the period in
'<a>text</a>.':

https://prettier.io/blog/2018/11/07/1.15.0.html#whitespace-sensitive-formatting

Unfortunately only standard HTML block elements are excluded from this
behaviour, so all of our Svelte components are treated the same way, even
if they are block-based, or used in a way where the extra whitespace
doesn't matter. This makes the code somewhat harder to read.

Changing this option does carry the risk that rogue spaces will creep
into our UI in the future as code is formatted, but as there don't appear
to be any such issues with this initial reformat, I think the improved
readability may justify the relatively small risk.
2023-06-01 11:11:26 +10:00
.buildkite Detect incorrect usage of triple slash in TypeScript (#2524) 2023-05-26 12:49:44 +10:00
.cargo Opt in to new sparse index handling 2023-05-29 12:35:08 +10:00
.config Update Rust deps 2023-03-31 14:38:24 +10:00
.github/ISSUE_TEMPLATE Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.vscode.dist Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
build Various changes to I/O handling (#2513) 2023-05-31 13:45:12 +10:00
cargo Update hakari and licenses 2023-05-29 17:54:00 +10:00
docs Mention that checkout path should not include spaces 2023-05-01 15:39:03 +10:00
ftl Update translations 2023-05-31 13:49:35 +10:00
proto Default to current deck in csv import if settings allow it (#2527) 2023-05-31 13:47:12 +10:00
pylib Improve import messaging when notetype has changed (#2483) 2023-04-28 11:39:18 +10:00
python Update requests for CVE 2023-05-24 16:09:15 +10:00
qt Apply Latin1 fix to other platforms 2023-05-31 16:41:12 +10:00
rslib Default to current deck in csv import if settings allow it (#2527) 2023-05-31 13:47:12 +10:00
sass Fix unreadable bootstrap buttons when hovering 2023-05-09 17:04:12 +10:00
tools Update hakari and licenses 2023-05-29 17:54:00 +10:00
ts Experiment with disabling prettier whitespace sensitivity 2023-06-01 11:11:26 +10:00
.deny.toml Update Rust deps (#2332) 2023-01-18 22:24:29 +10:00
.dprint.json Experiment with disabling prettier whitespace sensitivity 2023-06-01 11:11:26 +10:00
.eslintrc.js Upgrade Svelte (#2506) 2023-05-18 17:04:58 +10:00
.gitattributes try again to improve GitHub's language stats 2021-01-20 13:20:45 +10:00
.gitignore Rework syncing code, and replace local sync server (#2329) 2023-01-18 12:43:46 +10:00
.gitmodules Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.isort.cfg Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.mypy.ini Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.prettierignore Improved add-on extension API (#1626) 2022-02-03 14:52:11 +10:00
.prettierrc Mathjax editor improvements (#1502) 2021-11-23 10:27:32 +10:00
.pylintrc Add ability to restore a notetype to its original configuration (#2472) 2023-04-18 14:07:51 +10:00
.rustfmt-empty.toml Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
.rustfmt.toml Move ascii_percent_encoding into a separate repo 2023-04-12 08:45:23 +10:00
.version Bump version 2023-05-24 16:07:43 +10:00
Cargo.lock Update hakari and licenses 2023-05-29 17:54:00 +10:00
Cargo.toml Detect incorrect usage of triple slash in TypeScript (#2524) 2023-05-26 12:49:44 +10:00
CONTRIBUTORS Making phrasing more clear in dialog which lets user choose a deck to display options for. (#2522) 2023-05-26 12:50:38 +10:00
LICENSE move aqt_data into source folder; implement wheel building 2020-11-04 12:14:03 +10:00
ninja Add env var to enable sourcemaps 2022-12-04 11:37:16 +10:00
package.json Update to the latest TypeScript version 2023-04-12 16:42:28 +10:00
pkgkey.asc add public key for release signing 2018-09-18 10:40:45 +10:00
README.md Add link to website in README 2023-05-31 13:49:19 +10:00
run Move away from Bazel (#2202) 2022-11-27 15:24:20 +10:00
run.bat Automatically fetch win32 audio tools in .\run.bat 2023-05-11 09:10:22 +10:00
rust-toolchain.toml Bump Rust version 2023-03-31 14:11:33 +10:00
SECURITY.md add SECURITY.md 2021-09-22 22:55:19 +10:00
yarn.lock Upgrade Svelte (#2506) 2023-05-18 17:04:58 +10:00

Anki

Build status

This repo contains the source code for the computer version of Anki.

If you'd like to try development builds of Anki but don't feel comfortable building the code, please see https://betas.ankiweb.net/

For more information on building, please see Development.