Skip to content

Commit

Permalink
docs
Browse files Browse the repository at this point in the history
  • Loading branch information
fscelliott committed Jun 28, 2024
1 parent 9cb706e commit 7b06359
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 17 deletions.
7 changes: 1 addition & 6 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,7 @@
"overrides": [
{
"files": ["*.mdx"],
"extends": ["plugin:mdx/recommended"],
"rules": {
// Add other rules as warnings or turn them off
"no-unused-vars": "warn",
"no-console": "warn"
}
"extends": ["plugin:mdx/recommended"]
}
]
}
12 changes: 1 addition & 11 deletions .github/workflows/lint_mdx.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,4 @@ jobs:
- name: Run linter
id: lint
run: |
npx eslint '**/*.mdx' --ignore-pattern 'api-reference/*' -f json -o eslint-report.json
cat eslint-report.json
- name: Check for parsing errors
run: |
if grep -q '"severity": 2' eslint-report.json; then
echo "Parsing errors found"
exit 1
else
echo "No parsing errors found"
fi
npx eslint '**/*.mdx' --ignore-pattern 'api-reference/*'

0 comments on commit 7b06359

Please sign in to comment.