mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
chore(deps): update dependency @silverhand/eslint-config-react to ^0.14.0 (#797)
* chore(deps): update dependency @silverhand/eslint-config-react to ^0.14.0 * chore(deps): upgrade stylelint to v14 Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: Gao Sun <gao@silverhand.io>
This commit is contained in:
parent
82674eea88
commit
33baaa8c36
7 changed files with 171 additions and 621 deletions
2
.github/workflows/main.yml
vendored
2
.github/workflows/main.yml
vendored
|
@ -21,7 +21,7 @@ jobs:
|
|||
- name: Lint
|
||||
run: pnpm -- lerna run --parallel lint
|
||||
|
||||
- name: Style Lint
|
||||
- name: Stylelint
|
||||
run: pnpm -- lerna run --parallel stylelint
|
||||
|
||||
- name: Test
|
||||
|
|
4
.vscode/settings.json
vendored
4
.vscode/settings.json
vendored
|
@ -23,11 +23,13 @@
|
|||
"cSpell.words": [
|
||||
"Alipay",
|
||||
"CIAM",
|
||||
"codecov",
|
||||
"Logto",
|
||||
"oidc",
|
||||
"Passwordless",
|
||||
"pnpm",
|
||||
"silverhand",
|
||||
"slonik"
|
||||
"slonik",
|
||||
"stylelint"
|
||||
]
|
||||
}
|
||||
|
|
|
@ -26,7 +26,7 @@
|
|||
"@parcel/transformer-mdx": "^2.5.0",
|
||||
"@parcel/transformer-sass": "^2.5.0",
|
||||
"@silverhand/eslint-config": "^0.14.0",
|
||||
"@silverhand/eslint-config-react": "^0.11.0",
|
||||
"@silverhand/eslint-config-react": "^0.14.0",
|
||||
"@silverhand/essentials": "^1.1.6",
|
||||
"@silverhand/ts-config": "^0.14.0",
|
||||
"@silverhand/ts-config-react": "^0.14.0",
|
||||
|
@ -68,7 +68,7 @@
|
|||
"react-router-dom": "^6.2.2",
|
||||
"react-syntax-highlighter": "^15.5.0",
|
||||
"remark-gfm": "^3.0.1",
|
||||
"stylelint": "^13.13.1",
|
||||
"stylelint": "^14.8.2",
|
||||
"swr": "^1.2.2",
|
||||
"typescript": "^4.6.2"
|
||||
},
|
||||
|
@ -83,7 +83,17 @@
|
|||
}
|
||||
},
|
||||
"stylelint": {
|
||||
"extends": "@silverhand/eslint-config-react/.stylelintrc"
|
||||
"extends": "@silverhand/eslint-config-react/.stylelintrc",
|
||||
"rules": {
|
||||
"scss/function-no-unknown": [
|
||||
true,
|
||||
{
|
||||
"ignoreFunctions": [
|
||||
"/^_./"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
"prettier": "@silverhand/eslint-config/.prettierrc"
|
||||
}
|
||||
|
|
|
@ -1,6 +1,5 @@
|
|||
import React, { ChangeEvent } from 'react';
|
||||
import { PrismAsyncLight as SyntaxHighlighter } from 'react-syntax-highlighter';
|
||||
// eslint-disable-next-line node/file-extension-in-import
|
||||
import { a11yDark as theme } from 'react-syntax-highlighter/dist/esm/styles/prism';
|
||||
|
||||
import CopyToClipboard from '../CopyToClipboard';
|
||||
|
|
|
@ -16,7 +16,6 @@
|
|||
"test": "jest"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@silverhand/jest-config": "^0.13.0",
|
||||
"@logto/phrases": "^0.1.0",
|
||||
"@logto/schemas": "^0.1.0",
|
||||
"@parcel/core": "^2.5.0",
|
||||
|
@ -24,8 +23,9 @@
|
|||
"@parcel/transformer-svg-react": "^2.5.0",
|
||||
"@peculiar/webcrypto": "^1.3.3",
|
||||
"@silverhand/eslint-config": "^0.14.0",
|
||||
"@silverhand/eslint-config-react": "^0.11.0",
|
||||
"@silverhand/eslint-config-react": "^0.14.0",
|
||||
"@silverhand/essentials": "^1.1.7",
|
||||
"@silverhand/jest-config": "^0.13.0",
|
||||
"@silverhand/ts-config": "^0.14.0",
|
||||
"@silverhand/ts-config-react": "^0.14.0",
|
||||
"@testing-library/react": "^12.0.0",
|
||||
|
@ -58,7 +58,7 @@
|
|||
"react-router-dom": "^6.2.2",
|
||||
"react-string-replace": "^1.0.0",
|
||||
"react-timer-hook": "^3.0.5",
|
||||
"stylelint": "^13.13.1",
|
||||
"stylelint": "^14.8.2",
|
||||
"typescript": "^4.6.2",
|
||||
"use-debounced-loader": "^0.1.1"
|
||||
},
|
||||
|
@ -81,6 +81,14 @@
|
|||
"global"
|
||||
]
|
||||
}
|
||||
],
|
||||
"scss/function-no-unknown": [
|
||||
true,
|
||||
{
|
||||
"ignoreFunctions": [
|
||||
"/^_./"
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
},
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
}
|
||||
|
||||
> svg {
|
||||
fill: currentColor;
|
||||
fill: current-color;
|
||||
}
|
||||
|
||||
.title {
|
||||
|
|
753
pnpm-lock.yaml
753
pnpm-lock.yaml
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue