Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
}
}