Skip to content

Commit

Permalink
chore: bump eslint and stylelint deps (#191)
Browse files Browse the repository at this point in the history
  • Loading branch information
JounQin authored May 2, 2023
1 parent 66957ea commit 59681fb
Show file tree
Hide file tree
Showing 19 changed files with 1,495 additions and 1,245 deletions.
8 changes: 8 additions & 0 deletions .changeset/dirty-tigers-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@1stg/app-config": minor
"@1stg/common-config": minor
"@1stg/eslint-config": minor
"@1stg/lib-config": minor
---

chore: bump eslint-plugin-jsdoc
6 changes: 6 additions & 0 deletions .changeset/new-boats-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"@1stg/app-config": minor
"@1stg/stylelint-config": minor
---

chore: bump stylelint-config-standard and stylelint-scss
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ jobs:
node:
- 16
- 18
- 20
runs-on: ubuntu-latest
steps:
- name: Checkout Repo
Expand Down
6 changes: 5 additions & 1 deletion .markuplintrc
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
{
"extends": "@1stg/markuplint-config/angular"
"extends": [
"@1stg/markuplint-config/angular",
"@1stg/markuplint-config/svelte",
"@1stg/markuplint-config/vue"
]
}
28 changes: 14 additions & 14 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,33 +24,33 @@
"typecov": "type-coverage"
},
"devDependencies": {
"@angular/compiler": "^15.2.6",
"@angular/compiler-cli": "^15.2.6",
"@angular/core": "^15.2.6",
"@angular/compiler": "^15.2.8",
"@angular/compiler-cli": "^15.2.8",
"@angular/core": "^15.2.8",
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.1",
"@types/babel__core": "^7.20.0",
"@types/jest": "^29.5.0",
"@types/node": "^18.15.11",
"@types/react": "^18.0.33",
"@types/jest": "^29.5.1",
"@types/node": "^18.16.3",
"@types/react": "^18.2.0",
"@types/unist": "^2.0.6",
"@vitest/coverage-istanbul": "^0.29.8",
"patch-package": "^6.5.1",
"postcss": "^8.4.21",
"@vitest/coverage-istanbul": "^0.30.1",
"patch-package": "^7.0.0",
"postcss": "^8.4.23",
"react": "^18.2.0",
"rxjs": "^7.8.0",
"rxjs": "^7.8.1",
"simple-git-hooks": "^2.8.1",
"svelte": "^3.58.0",
"type-coverage": "^2.25.0",
"typescript": "^5.0.4",
"vitest": "^0.29.8",
"vitest": "^0.30.1",
"vue": "^3.2.47",
"vue-tsc": "^1.2.0",
"vue-tsc": "^1.6.3",
"yarn-deduplicate": "^6.0.1"
},
"resolutions": {
"@typescript-eslint/type-utils": "^5.57.1",
"prettier": "^2.8.7"
"@typescript-eslint/type-utils": "^5.59.2",
"prettier": "^2.8.8"
},
"typeCoverage": {
"atLeast": 100,
Expand Down
6 changes: 3 additions & 3 deletions packages/app-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,14 +12,14 @@
},
"dependencies": {
"@1stg/browserslist-config": "^1.2.4",
"@1stg/common-config": "^8.0.0",
"@1stg/common-config": "^8.0.1",
"@1stg/postcss-config": "^5.0.0",
"@1stg/stylelint-config": "^5.0.0",
"@pkgr/es-modules": "^0.6.3",
"@pkgr/imagemin": "^4.0.0",
"browserslist": "^4.21.5",
"postcss": "^8.4.21",
"stylelint": "^15.4.0"
"postcss": "^8.4.23",
"stylelint": "^15.6.0"
},
"publishConfig": {
"access": "public"
Expand Down
8 changes: 4 additions & 4 deletions packages/babel-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,12 @@
"@babel/core": ">=7.14.1"
},
"dependencies": {
"@babel/helper-plugin-utils": "^7.20.2",
"@babel/helper-plugin-utils": "^7.21.5",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.21.0",
"@babel/preset-env": "^7.21.4",
"@babel/preset-env": "^7.21.5",
"@babel/preset-react": "^7.18.6",
"@babel/preset-typescript": "^7.21.4",
"@babel/preset-typescript": "^7.21.5",
"@pkgr/utils": "^2.3.1",
"@vue/babel-helper-vue-jsx-merge-props": "^1.4.0",
"@vue/babel-plugin-jsx": "^1.1.1",
Expand All @@ -29,7 +29,7 @@
"babel-plugin-transform-remove-console": "^6.9.4",
"babel-plugin-transform-typescript-metadata": "^0.3.2",
"babel-preset-proposal-typescript": "^3.0.0",
"core-js": "^3.30.0",
"core-js": "^3.30.1",
"fast-async": "^7.0.6"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/commitlint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"node": "^14.18.0 || >=16.0.0"
},
"dependencies": {
"@commitlint/config-conventional": "^17.4.4",
"@commitlint/config-conventional": "^17.6.1",
"@commitlint/config-lerna-scopes": "^17.4.2",
"@pkgr/utils": "^2.3.1"
},
Expand Down
10 changes: 5 additions & 5 deletions packages/common-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,12 +20,12 @@
"@1stg/remark-preset": "^2.0.0",
"@1stg/simple-git-hooks": "^0.2.3",
"@1stg/tsconfig": "^2.3.2",
"@babel/core": "^7.21.4",
"@commitlint/cli": "^17.5.1",
"eslint": "^8.38.0",
"lint-staged": "^13.2.1",
"@babel/core": "^7.21.5",
"@commitlint/cli": "^17.6.1",
"eslint": "^8.39.0",
"lint-staged": "^13.2.2",
"npm-run-all": "^4.1.5",
"prettier": "^2.8.7",
"prettier": "^2.8.8",
"simple-git-hooks": "^2.8.1",
"tslib": "^2.5.0"
},
Expand Down
7 changes: 7 additions & 0 deletions packages/eslint-config/overrides.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,13 @@ exports.js = {
...jsBase.rules,
'jsdoc/require-jsdoc': 0,
'jsdoc/require-param-description': 0,
'jsdoc/tag-lines': [
1,
'never',
{
startLines: 1,
},
],
},
settings: isTsAvailable
? {
Expand Down
10 changes: 5 additions & 5 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"@babel/eslint-plugin": "^7.19.1",
"@eslint-community/eslint-plugin-eslint-comments": "^3.2.1",
"@pkgr/utils": "^2.3.1",
"@typescript-eslint/eslint-plugin": "^5.57.1",
"@typescript-eslint/parser": "^5.57.1",
"@typescript-eslint/eslint-plugin": "^5.59.2",
"@typescript-eslint/parser": "^5.59.2",
"angular-eslint-template-parser": "^0.1.1",
"eslint-config-prettier": "^8.8.0",
"eslint-config-standard": "^17.0.0",
Expand All @@ -35,7 +35,7 @@
"eslint-plugin-es-x": "^6.1.0",
"eslint-plugin-import": "npm:eslint-plugin-i@^2.27.5",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsdoc": "^40.1.2",
"eslint-plugin-jsdoc": "^43.1.1",
"eslint-plugin-jsonc": "^2.7.0",
"eslint-plugin-markup": "^0.11.0",
"eslint-plugin-mdx": "^2.0.5",
Expand All @@ -48,10 +48,10 @@
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-sonar": "^0.11.1",
"eslint-plugin-sonarjs": "^0.19.0",
"eslint-plugin-svelte": "^2.26.0",
"eslint-plugin-svelte": "^2.27.2",
"eslint-plugin-toml": "^0.4.0",
"eslint-plugin-unicorn": "^46.0.0",
"eslint-plugin-vue": "^9.10.0",
"eslint-plugin-vue": "^9.11.0",
"eslint-plugin-yml": "^1.5.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/lib-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"node": "^14.18.0 || >=16.0.0"
},
"dependencies": {
"@1stg/common-config": "^8.0.0",
"@1stg/common-config": "^8.0.1",
"@pkgr/rollup": "^4.0.0"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/lint-staged/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"@1stg/prettier-config": "^3.9.2",
"@1stg/tsconfig": "^2.3.2",
"@pkgr/utils": "^2.3.1",
"prettier": "^2.8.7"
"prettier": "^2.8.8"
},
"publishConfig": {
"access": "public"
Expand Down
6 changes: 3 additions & 3 deletions packages/markuplint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@
"markuplint": "^3.0.0"
},
"dependencies": {
"@markuplint/svelte-parser": "^3.6.1",
"@markuplint/vue-parser": "^3.6.1",
"@markuplint/vue-spec": "^3.6.1",
"@markuplint/svelte-parser": "^3.6.2",
"@markuplint/vue-parser": "^3.6.2",
"@markuplint/vue-spec": "^3.7.1",
"markuplint-angular-parser": "^2.0.0"
},
"publishConfig": {
Expand Down
6 changes: 3 additions & 3 deletions packages/postcss-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
"dependencies": {
"@pkgr/utils": "^2.3.1",
"autoprefixer": "^10.4.14",
"cssnano": "^6.0.0",
"cssnano-preset-advanced": "^6.0.0",
"cssnano": "^6.0.1",
"cssnano-preset-advanced": "^6.0.1",
"postcss-import": "^15.1.0",
"postcss-modules": "^6.0.0",
"postcss-normalize": "^10.0.1",
"postcss-preset-env": "^8.3.0",
"postcss-preset-env": "^8.3.2",
"postcss-url": "^10.1.3"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/remark-preset/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"remark-preset-lint-markdown-style-guide": "^5.1.2",
"remark-preset-lint-recommended": "^6.1.2",
"remark-preset-prettier": "^2.0.1",
"remark-validate-links": "^12.1.0"
"remark-validate-links": "^12.1.1"
},
"publishConfig": {
"access": "public"
Expand Down
4 changes: 2 additions & 2 deletions packages/stylelint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,11 +21,11 @@
"postcss-scss": "^4.0.6",
"postcss-syntax": "^0.36.2",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^32.0.0",
"stylelint-config-standard": "^33.0.0",
"stylelint-high-performance-animation": "^1.8.0",
"stylelint-no-unsupported-browser-features": "^6.1.0",
"stylelint-prettier": "^3.0.0",
"stylelint-scss": "^4.6.0",
"stylelint-scss": "^5.0.0",
"stylelint-stylus": "^0.18.0"
},
"publishConfig": {
Expand Down
4 changes: 2 additions & 2 deletions patches/stylelint-config-prettier+9.0.5.patch
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@ index 83714bd..3619e19 100644
--- a/node_modules/stylelint-config-prettier/src/checker.js
+++ b/node_modules/stylelint-config-prettier/src/checker.js
@@ -30,7 +30,7 @@ async function getConfig(linter, resolvedPath) {

async function check(path) {
const resolvedPath = resolve(process.cwd(), path || '');
- const linter = stylelint.createLinter();
+ const linter = (stylelint.createLinter || stylelint._createLinter)();
const config = await getConfig(linter, resolvedPath);

const prettierRules = stylelintConfigPrettier.rules;
Loading

0 comments on commit 59681fb

Please sign in to comment.