errata-ai / proselint Goto Github PK
View Code? Open in Web Editor NEWA Vale-compatible implementation of Python's proselint linter.
License: BSD 3-Clause "New" or "Revised" License
A Vale-compatible implementation of Python's proselint linter.
License: BSD 3-Clause "New" or "Revised" License
Timestamps with uppercase AM/PM are matching this rule (which seems intended for lowercase letters).
Example:
$ vale <(echo '2022-10-27 05:34:32 PM')
/dev/fd/14
1:18 error With lowercase letters, the proselint.DateCase
periods are standard.
โ 1 error, 0 warnings and 0 suggestions in 1 file.
Hi,
my markdown code contains some syntaxes like :
!!! important
the important text
that is seen as hyperbolic syntax like "it's so cool!!!"
But it's not the case, it's a false positive as this is the syntax for Admonition plugin https://squidfunk.github.io/mkdocs-material/extensions/admonition/ that I would like Vale not to consider as an issue.
I tried overriding the Hyperbole file:
extends: existence
message: "'%s' is hyperbolic."
level: error
nonword: true
tokens:
- '[a-z]*[!]{2,}'
- '[a-z]*\?{2,}'
but I can't find a way to write the tokens regex to prevent matching my specific syntax. I tried things like [a-z]+[!]{2,}
or [\w ]+[!]{2,}
that works when I test them in other regexp testers but Vale always take my Admonition markers in account and raises errors.
Any idea?
Thanks.
The text (address) "1600 Amphitheatre Pkwy, Mountain View, CA 94043" is reporting the following error:
1:3 error With lowercase letters, the proselint.DateCase
periods are standard.
It's due to 1600 Amphitheatre
, that matches \d{1,2} ?[ap]m
. That's not intended, is it? :)
Proselint.Uncomparables tags "least possible" as wrong in the sentence "But is it at least possible?"
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.