From d94a059c55525fedbdcadf20cde627faa838ea46 Mon Sep 17 00:00:00 2001 From: Sahil Kumar Date: Fri, 7 Apr 2023 02:08:04 +0530 Subject: [PATCH] update .styles Signed-off-by: xsahil03x --- .styles/Google/We.yml | 11 ----------- .vale.ini | 8 +++----- 2 files changed, 3 insertions(+), 16 deletions(-) delete mode 100644 .styles/Google/We.yml diff --git a/.styles/Google/We.yml b/.styles/Google/We.yml deleted file mode 100644 index c7ac7d36..00000000 --- a/.styles/Google/We.yml +++ /dev/null @@ -1,11 +0,0 @@ -extends: existence -message: "Try to avoid using first-person plural like '%s'." -link: 'https://developers.google.com/style/pronouns#personal-pronouns' -level: warning -ignorecase: true -tokens: - - we - - we'(?:ve|re) - - ours? - - us - - let's diff --git a/.vale.ini b/.vale.ini index 5e1c46bf..f295edca 100644 --- a/.vale.ini +++ b/.vale.ini @@ -9,11 +9,9 @@ Packages = Google # with one of Vale's supported formats. [formats] mdx = md - + # Since we mapped `mdx` to `md` in the `formats`section we have to declare our format to be `md` [*.md] BasedOnStyles = Vale, Google -# TokenIgnores = ("integrationguide"), ^<[ ]{0}img(.*)+[ ]{0}/>$, <[ ]{0}img(.*\n)+/> -# BlockIgnores = import \w* from '.*', \w*\.gradle - - +BlockIgnores = (^import .*;), (import .*;), (\n(.*\n)+
), (\| .* \|) +TokenIgnores = (^import .*;),(import .*;)