From 5386f685674bbf35b98e49cccee6877e576ec1ab Mon Sep 17 00:00:00 2001 From: guptadeepak8 Date: Fri, 5 Jan 2024 18:06:55 +0530 Subject: [PATCH 1/3] added grammar check --- .github/workflows/grammar-check.yml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .github/workflows/grammar-check.yml diff --git a/.github/workflows/grammar-check.yml b/.github/workflows/grammar-check.yml new file mode 100644 index 0000000000..241fb2f996 --- /dev/null +++ b/.github/workflows/grammar-check.yml @@ -0,0 +1,27 @@ +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 + \ No newline at end of file From 9708307dd7a65f1a70c31451286d587906a1c384 Mon Sep 17 00:00:00 2001 From: Tushar Mathur Date: Thu, 8 Feb 2024 12:28:11 +0530 Subject: [PATCH 2/3] chore: update file format --- .github/workflows/grammar-check.yml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/grammar-check.yml b/.github/workflows/grammar-check.yml index 241fb2f996..a76751394e 100644 --- a/.github/workflows/grammar-check.yml +++ b/.github/workflows/grammar-check.yml @@ -11,17 +11,16 @@ jobs: runs-on: ubuntu-latest steps: - - name: Checkout code - uses: actions/checkout@v4 + - name: Checkout code + uses: actions/checkout@v4 - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '19' + - name: Set up Node.js + uses: actions/setup-node@v3 + with: + node-version: "19" - - name: Install write-good - run: npm install write-good + - name: Install write-good + run: npm install write-good - - name: Check grammar - run: npx write-good docs/**/*.md --no-passive --no-weasel --no-adverb - \ No newline at end of file + - name: Check grammar + run: npx write-good docs/**/*.md --no-passive --no-weasel --no-adverb From 40f66e5fbac149532834ae18e41bc8c14d9ea969 Mon Sep 17 00:00:00 2001 From: Tushar Mathur Date: Thu, 8 Feb 2024 12:31:05 +0530 Subject: [PATCH 3/3] chore: update file format --- tsconfig.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tsconfig.json b/tsconfig.json index e0c08d9753..e3f3ae2ee3 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -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 + } }