Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore: bump all (dev)Dependencies #20

Merged
merged 2 commits into from
Jun 25, 2021
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
6 changes: 6 additions & 0 deletions .changeset/giant-walls-accept.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"eslint-plugin-htm": minor
"eslint-plugin-markup": minor
---

chore: bump all (dev)Dependencies
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
*.log
.*cache
*.tsbuildinfo
.type-coverage
coverage
lib
Expand Down
25 changes: 11 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
],
"scripts": {
"build": "run-p build:*",
"build:r": "r -d -f esm,es2015",
"build:r": "r -f esm,es2015",
"build:tsc": "tsc -b",
"clean": "rimraf packages/*/{lib,*.tsbuildinfo}",
"lint": "run-p lint:*",
Expand All @@ -23,24 +23,21 @@
"typecov": "type-coverage"
},
"devDependencies": {
"@1stg/lib-config": "^1.2.10",
"@1stg/lib-config": "^3.0.0",
"@changesets/changelog-github": "^0.4.0",
"@changesets/cli": "^2.16.0",
"@markuplint/rule-textlint": "^0.1.0-alpha.5+c47a79f",
"@types/eslint": "^7.2.10",
"@markuplint/rule-textlint": "^0.1.1-alpha.6",
"@types/eslint": "^7.2.13",
"@types/htmlhint": "^0.9.2",
"@types/jest": "^26.0.22",
"@types/node": "^14.14.41",
"@types/uuid": "^8.3.0",
"eslint-plugin-mdx": "https://pkg.csb.dev/mdx-js/eslint-mdx/commit/6a3b2aa4/eslint-plugin-mdx",
"npm-run-all": "^4.1.5",
"@types/jest": "^26.0.23",
"@types/node": "^15.12.4",
"eslint-plugin-mdx": "1.13.0",
"rimraf": "^3.0.2",
"textlint-rule-max-comma": "^2.0.2",
"ts-jest": "^26.5.5",
"ts-node": "^9.1.1",
"type-coverage": "^2.17.3",
"typescript": "^4.2.4",
"yarn-deduplicate": "^3.1.0"
"ts-jest": "^27.0.3",
"ts-node": "^10.0.0",
"type-coverage": "^2.18.0",
"typescript": "^4.3.4"
},
"commitlint": {
"extends": "@1stg"
Expand Down
4 changes: 2 additions & 2 deletions packages/htm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"eslint": ">=5.0.0"
},
"dependencies": {
"htmlhint": "^0.14.2",
"tslib": "^2.2.0"
"htmlhint": "^0.15.1",
"tslib": "^2.3.0"
},
"publishConfig": {
"access": "public"
Expand Down
1 change: 0 additions & 1 deletion packages/htm/src/rules/html.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ export const html: Rule.RuleModule = {
const sourceCode = context.getSourceCode().text

return {
// eslint-disable-next-line sonar/function-name
Program() {
const results = HTMLHint.verify(sourceCode)
for (const result of results) {
Expand Down
6 changes: 3 additions & 3 deletions packages/markup/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,10 @@
},
"dependencies": {
"cosmiconfig": "^7.0.0",
"markuplint": "^1.7.0-alpha.5+c47a79f",
"markuplint-sync": "^0.1.1",
"markuplint": "^1.9.1",
"markuplint-sync": "^0.3.0",
"synckit": "^0.1.5",
"tslib": "^2.2.0"
"tslib": "^2.3.0"
},
"publishConfig": {
"access": "public"
Expand Down
5 changes: 3 additions & 2 deletions packages/markup/src/rules/markup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,8 @@ const execSync = createSyncFn<typeof execAsync>(require.resolve('../worker'))

const brokenCache = new Map<string, true>()

const BROKEN_ERROR_PATTERN = /^`(verify|fix)Sync` finished async. Use `\1` instead$/
const BROKEN_ERROR_PATTERN =
/^`(verify|fix)Sync` finished async. Use `\1` instead$/

export const markup: Rule.RuleModule = {
meta: {
Expand All @@ -29,7 +30,7 @@ export const markup: Rule.RuleModule = {
}

return {
// eslint-disable-next-line sonarjs/cognitive-complexity, sonar/function-name
// eslint-disable-next-line sonarjs/cognitive-complexity
Program() {
if (!config) {
return
Expand Down
3 changes: 1 addition & 2 deletions packages/markup/test/rules.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -79,8 +79,7 @@ tester.run('markup', markup, {
{
message:
'Invalid text: This sentence exceeds the maximum count of comma. Maximum is 4.',
// FIXME: https://github.com/markuplint/markuplint/issues/160
line: 2,
line: 1,
column: 11,
},
],
Expand Down
Loading