💄 style: add remarkrc.js

- Ignore '/dist' folder in stylelint by updating '.stylelintignore' file.
- Add 'remarkrc.js' configuration file for linting markdown files.

The commit message summarizes the changes made in this commit.
main
canisminor1990 2023-05-30 23:25:58 +08:00
parent fefad8c569
commit 32c7be2609
8 changed files with 48 additions and 33 deletions

9
.remarkrc.js Normal file
View File

@ -0,0 +1,9 @@
const config = {
plugins: [
'remark-preset-lint-recommended',
['remark-lint-list-item-indent', 'space'],
['remark-lint-no-literal-urls', false],
],
};
module.exports = config;

View File

@ -1 +1,2 @@
style.css
/dist

View File

@ -18,4 +18,4 @@ module.exports = {
customSyntax: 'postcss-styled-syntax',
},
],
}
};

View File

@ -27,7 +27,7 @@
### 🐛 Bug Fixes
- ci ([ed2401d](https://github.com/canisminor1990/sd-webui-kitchen-theme/commit/ed2401d))
- firefox scroll fixed [47] ([87e774d](https://github.com/canisminor1990/sd-webui-kitchen-theme/commit/87e774d))
- firefox scroll ([87e774d](https://github.com/canisminor1990/sd-webui-kitchen-theme/commit/87e774d))
- setting reset button ([2a0f468](https://github.com/canisminor1990/sd-webui-kitchen-theme/commit/2a0f468))
## [1.6.3](https://github.com/canisminor1990/sd-web-ui-kitchen-theme/compare/v1.6.2...v1.6.3) (2023-04-23)

View File

@ -7,7 +7,7 @@
<h1 align="center">Kitchen Theme</h1>
Kitchen Theme for Stable Diffusion WebUI
[English](./README.md) · 简体中文 · [Changelog](./CHANGELOG.md) · [Report Bug][issues-url] · [Request Feature][issues-url]
<!-- SHIELD GROUP -->
@ -216,18 +216,16 @@ $ npm start
</div>
---
#### 📝 License
Copyright © 2023 [CanisMinor][profile-url]. <br />
This project is [MIT](./LICENSE) licensed.
This project is [MIT](./LICENSE) licensed.
<!-- LINK GROUP -->
[profile-url]: https://github.com/canisminor1990
[issues-url]: https://github.com/canisminor1990/sd-webui-kitchen-theme/issues/new/choose
[gitpod-url]: https://gitpod.io/#https://github.com/canisminor1990/sd-webui-kitchen-theme
<!-- SHIELD LINK GROUP -->
@ -272,4 +270,4 @@ This project is [MIT](./LICENSE) licensed.
<!-- issues -->
[issues-shield]: https://img.shields.io/github/issues/canisminor1990/sd-web-ui-kitchen-theme.svg?style=flat
[issues-url]: https://img.shields.io/github/issues/canisminor1990/sd-web-ui-kitchen-theme.svg?style=flat
[issues-url]: https://github.com/canisminor1990/sd-webui-kitchen-theme/issues/new/choose

View File

@ -7,7 +7,7 @@
<h1 align="center">Kitchen Theme</h1>
Kitchen Theme for Stable Diffusion WebUI
English · [简体中文](./README-zh_CN.md) · [Changelog](./CHANGELOG.md) · [Report Bug][issues-url] · [Request Feature][issues-url]
<!-- SHIELD GROUP -->
@ -218,16 +218,15 @@ $ npm start
</div>
---
#### 📝 License
Copyright © 2023 [CanisMinor][profile-url]. <br />
This project is [MIT](./LICENSE) licensed.
This project is [MIT](./LICENSE) licensed.
<!-- LINK GROUP -->
[profile-url]: https://github.com/canisminor1990
[issues-url]: https://github.com/canisminor1990/sd-webui-kitchen-theme/issues/new/choose
[gitpod-url]: https://gitpod.io/#https://github.com/canisminor1990/sd-webui-kitchen-theme
<!-- SHIELD LINK GROUP -->
@ -272,4 +271,4 @@ This project is [MIT](./LICENSE) licensed.
<!-- issues -->
[issues-shield]: https://img.shields.io/github/issues/canisminor1990/sd-web-ui-kitchen-theme.svg?style=flat
[issues-url]: https://img.shields.io/github/issues/canisminor1990/sd-web-ui-kitchen-theme.svg?style=flat
[issues-url]: https://github.com/canisminor1990/sd-webui-kitchen-theme/issues/new/choose

File diff suppressed because one or more lines are too long

View File

@ -13,6 +13,7 @@
"build": "umi build",
"dev": "umi build",
"lint": "eslint \"src/**/*.{js,jsx,ts,tsx}\" --fix",
"lint:md": "remark . -f -q",
"prepare": "husky install",
"prettier": "prettier -c --write \"**/**\" && npm run lint && npm run stylelint",
"release": "semantic-release",
@ -24,13 +25,17 @@
"type-check": "tsc -p tsconfig-check.json"
},
"lint-staged": {
"*.md": [
"remark -f -q",
"prettier --write --no-error-on-unmatched-pattern"
],
"*.json": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{css,less}": [
"stylelint --fix",
"prettier --write"
],
"*.{md,json}": [
"prettier --write --no-error-on-unmatched-pattern"
],
"*.{js,jsx}": [
"stylelint --fix",
"eslint --fix",
@ -42,9 +47,6 @@
"prettier --parser=typescript --write"
]
},
"dependencies": {
"lucide-react": "^0.224.0"
},
"devDependencies": {
"@ant-design/icons": "^5",
"@commitlint/cli": "^17",
@ -76,6 +78,7 @@
"lightningcss": "^1",
"lint-staged": "^13",
"lodash-es": "^4",
"lucide-react": "^0",
"object-to-css-variables": "^0.2",
"polished": "^4",
"postcss-less": "^6",
@ -92,6 +95,11 @@
"react-layout-kit": "^1",
"react-rnd": "^10",
"react-tag-input": "^6",
"remark": "^14",
"remark-cli": "^11",
"remark-lint": "^9",
"remark-lint-list-item-indent": "^3",
"remark-preset-lint-recommended": "^6",
"semantic-release": "^21",
"semantic-release-config-gitmoji": "^1",
"styled-components": "^5",