This repository has been archived by the owner on May 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #52 from python-thread/ci/linting-and-pruning-ci
Linting and pruning CI
- Loading branch information
Showing
11 changed files
with
3,668 additions
and
235 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,19 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
"root": true, | ||
"extends": [ | ||
"next/core-web-vitals", | ||
"plugin:mdx/recommended" | ||
], | ||
"settings": { | ||
"mdx/code-blocks": true | ||
}, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
"*.md", | ||
"*.mdx" | ||
], | ||
"parser": "eslint-mdx" | ||
} | ||
] | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
name: Linting | ||
|
||
on: | ||
push: | ||
pull_request: | ||
workflow_dispatch: | ||
|
||
permissions: | ||
contents: read | ||
|
||
jobs: | ||
linting: | ||
name: Linting | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v4 | ||
|
||
- name: Setup node | ||
uses: actions/[email protected] | ||
with: | ||
cache: npm | ||
|
||
- name: Install dependencies | ||
run: | | ||
set -xe | ||
npm i | ||
- name: Lint | ||
run: | | ||
set -xe | ||
npm run lint |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.