0
Fork 0
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:
renovate[bot] 2022-05-17 13:20:17 +00:00 committed by GitHub
parent 82674eea88
commit 33baaa8c36
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 171 additions and 621 deletions

View file

@ -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

View file

@ -23,11 +23,13 @@
"cSpell.words": [
"Alipay",
"CIAM",
"codecov",
"Logto",
"oidc",
"Passwordless",
"pnpm",
"silverhand",
"slonik"
"slonik",
"stylelint"
]
}

View file

@ -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"
}

View file

@ -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';

View file

@ -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": [
"/^_./"
]
}
]
}
},

View file

@ -20,7 +20,7 @@
}
> svg {
fill: currentColor;
fill: current-color;
}
.title {

File diff suppressed because it is too large Load diff