Skip to content

Commit

Permalink
chore: add readme and markdown to default lint (#2489)
Browse files Browse the repository at this point in the history
  • Loading branch information
maryliag authored Oct 17, 2024
1 parent a4fcd26 commit f9f5123
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
2 changes: 0 additions & 2 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,3 @@ jobs:
- name: Lint
run: |
npm run lint
npm run lint:markdown
npm run lint:readme
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@
"clean": "lerna run clean",
"precompile": "tsc --version && npm run version:update",
"version:update": "lerna run version:update",
"lint:readme": "lerna run lint:readme",
"compile": "lerna run compile",
"prewatch": "npm run precompile",
"test": "lerna run test",
Expand All @@ -24,12 +23,13 @@
"test-all-versions": "npm run --if-present --workspaces test-all-versions",
"bump": "lerna publish",
"changelog": "lerna-changelog",
"lint": "lerna run lint",
"lint:fix": "lerna run lint:fix",
"lint": "lerna run lint && npm run lint:readme && npm run lint:markdown",
"lint:fix": "lerna run lint:fix && npm run lint:markdown:fix",
"lint:examples": "eslint ./examples/**/*.js",
"lint:examples:fix": "eslint ./examples/**/*.js --fix",
"lint:markdown": "markdownlint-cli2 $(git ls-files '*.md')",
"lint:markdown:fix": "markdownlint-cli2 --fix $(git ls-files '*.md')"
"lint:markdown:fix": "markdownlint-cli2 --fix $(git ls-files '*.md')",
"lint:readme": "lerna run lint:readme"
},
"keywords": [
"opentelemetry",
Expand Down

0 comments on commit f9f5123

Please sign in to comment.