Skip to content

Commit

Permalink
chore: added grammar check (tailcallhq#83)
Browse files Browse the repository at this point in the history
* added grammar check

* chore: update file format

* chore: update file format

---------

Co-authored-by: Amit Singh <[email protected]>
Co-authored-by: Tushar Mathur <[email protected]>
  • Loading branch information
3 people authored Feb 8, 2024
1 parent 6b1b0b6 commit 8305251
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 2 deletions.
26 changes: 26 additions & 0 deletions .github/workflows/grammar-check.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
name: Check grammar

on:
pull_request:
paths:
- "docs/**"
- "**.md"

jobs:
check-grammar:
runs-on: ubuntu-latest

steps:
- name: Checkout code
uses: actions/checkout@v4

- name: Set up Node.js
uses: actions/setup-node@v3
with:
node-version: "19"

- name: Install write-good
run: npm install write-good

- name: Check grammar
run: npx write-good docs/**/*.md --no-passive --no-weasel --no-adverb
4 changes: 2 additions & 2 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,6 @@
"strictBindCallApply": true, // Enable stricter checking of the 'bind', 'call', and 'apply' methods
"strictPropertyInitialization": true, // Ensure class properties are initialized in the constructor
"noImplicitThis": true, // Raise error on 'this' expressions with an implied 'any' type
"alwaysStrict": true, // Parse in strict mode and emit "use strict" for each source file
},
"alwaysStrict": true // Parse in strict mode and emit "use strict" for each source file
}
}

0 comments on commit 8305251

Please sign in to comment.