mirror of
https://github.com/Smaug123/KaTeX
synced 2025-10-06 11:48:41 +00:00
chore(deps): update linters [skip netlify] (major) (#3317)
* chore(deps): update linters [skip netlify] * chore: add missing peer dependencies * style: update styelint Co-authored-by: Renovate Bot <bot@renovateapp.com> Co-authored-by: ylemkimon <y@ylem.kim>
This commit is contained in:
12
.stylelintrc
12
.stylelintrc
@@ -1,8 +1,20 @@
|
|||||||
{
|
{
|
||||||
"extends": "stylelint-config-standard",
|
"extends": "stylelint-config-standard",
|
||||||
"rules": {
|
"rules": {
|
||||||
|
"at-rule-no-vendor-prefix": null,
|
||||||
|
"font-family-name-quotes": "always-where-required",
|
||||||
"indentation": 4,
|
"indentation": 4,
|
||||||
|
"number-max-precision": 6,
|
||||||
|
"property-no-vendor-prefix": null,
|
||||||
|
"selector-class-pattern": null,
|
||||||
|
"value-no-vendor-prefix": null,
|
||||||
},
|
},
|
||||||
|
"overrides": [
|
||||||
|
{
|
||||||
|
"files": ["**/*.less"],
|
||||||
|
"customSyntax": "postcss-less",
|
||||||
|
}
|
||||||
|
],
|
||||||
"ignoreFiles": [
|
"ignoreFiles": [
|
||||||
"**/*.min.css"
|
"**/*.min.css"
|
||||||
]
|
]
|
||||||
|
2
.yarn/sdks/eslint/package.json
vendored
2
.yarn/sdks/eslint/package.json
vendored
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "eslint",
|
"name": "eslint",
|
||||||
"version": "7.32.0-sdk",
|
"version": "8.1.0-sdk",
|
||||||
"main": "./lib/api.js",
|
"main": "./lib/api.js",
|
||||||
"type": "commonjs"
|
"type": "commonjs"
|
||||||
}
|
}
|
||||||
|
2
.yarn/sdks/stylelint/package.json
vendored
2
.yarn/sdks/stylelint/package.json
vendored
@@ -1,6 +1,6 @@
|
|||||||
{
|
{
|
||||||
"name": "stylelint",
|
"name": "stylelint",
|
||||||
"version": "13.13.1-sdk",
|
"version": "14.0.1-sdk",
|
||||||
"main": "lib/index.js",
|
"main": "lib/index.js",
|
||||||
"type": "commonjs"
|
"type": "commonjs"
|
||||||
}
|
}
|
||||||
|
13
package.json
13
package.json
@@ -21,6 +21,8 @@
|
|||||||
"@babel/core": "^7.10.4",
|
"@babel/core": "^7.10.4",
|
||||||
"@babel/eslint-parser": "^7.15.0",
|
"@babel/eslint-parser": "^7.15.0",
|
||||||
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
"@babel/plugin-proposal-class-properties": "^7.10.4",
|
||||||
|
"@babel/plugin-syntax-flow": "^7.14.5",
|
||||||
|
"@babel/plugin-transform-react-jsx": "^7.14.9",
|
||||||
"@babel/plugin-transform-runtime": "^7.10.4",
|
"@babel/plugin-transform-runtime": "^7.10.4",
|
||||||
"@babel/preset-env": "^7.10.4",
|
"@babel/preset-env": "^7.10.4",
|
||||||
"@babel/preset-flow": "^7.10.4",
|
"@babel/preset-flow": "^7.10.4",
|
||||||
@@ -42,9 +44,9 @@
|
|||||||
"caniuse-lite": "^1.0.30001102",
|
"caniuse-lite": "^1.0.30001102",
|
||||||
"css-loader": "^6.0.0",
|
"css-loader": "^6.0.0",
|
||||||
"cssnano": "^5.0.0-rc.1",
|
"cssnano": "^5.0.0-rc.1",
|
||||||
"eslint": "^7.4.0",
|
"eslint": "^8.0.0",
|
||||||
"eslint-plugin-actions": "^1.0.1",
|
"eslint-plugin-actions": "^2.0.0",
|
||||||
"eslint-plugin-flowtype": "^6.0.0",
|
"eslint-plugin-flowtype": "^8.0.0",
|
||||||
"eslint-plugin-react": "^7.20.3",
|
"eslint-plugin-react": "^7.20.3",
|
||||||
"flow-bin": "^0.135.0",
|
"flow-bin": "^0.135.0",
|
||||||
"fs-extra": "^10.0.0",
|
"fs-extra": "^10.0.0",
|
||||||
@@ -68,6 +70,7 @@
|
|||||||
"p-retry": "^4.6.1",
|
"p-retry": "^4.6.1",
|
||||||
"pako": "^2.0.0",
|
"pako": "^2.0.0",
|
||||||
"postcss": "^8.0.0",
|
"postcss": "^8.0.0",
|
||||||
|
"postcss-less": "^5.0.0",
|
||||||
"postcss-loader": "^6.0.0",
|
"postcss-loader": "^6.0.0",
|
||||||
"postcss-preset-env": "^6.7.0",
|
"postcss-preset-env": "^6.7.0",
|
||||||
"prettier": "^2.0.5",
|
"prettier": "^2.0.5",
|
||||||
@@ -78,8 +81,8 @@
|
|||||||
"semantic-release": "^18.0.0",
|
"semantic-release": "^18.0.0",
|
||||||
"sri-toolbox": "^0.2.0",
|
"sri-toolbox": "^0.2.0",
|
||||||
"style-loader": "^3.0.0",
|
"style-loader": "^3.0.0",
|
||||||
"stylelint": "^13.6.1",
|
"stylelint": "^14.0.0",
|
||||||
"stylelint-config-standard": "^22.0.0",
|
"stylelint-config-standard": "^23.0.0",
|
||||||
"terser-webpack-plugin": "^5.0.3",
|
"terser-webpack-plugin": "^5.0.3",
|
||||||
"webpack": "^5.51.1",
|
"webpack": "^5.51.1",
|
||||||
"webpack-bundle-analyzer": "^4.0.0",
|
"webpack-bundle-analyzer": "^4.0.0",
|
||||||
|
@@ -568,7 +568,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.boxpad {
|
.boxpad {
|
||||||
padding: 0 0.3em 0 0.3em; // \fboxsep = 3pt
|
padding: 0 0.3em; // \fboxsep = 3pt
|
||||||
}
|
}
|
||||||
|
|
||||||
.fbox,
|
.fbox,
|
||||||
@@ -578,7 +578,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.cancel-pad {
|
.cancel-pad {
|
||||||
padding: 0 0.2em 0 0.2em; // ref: cancel package \advance\dimen@ 2\p@ % "+2"
|
padding: 0 0.2em; // ref: cancel package \advance\dimen@ 2\p@ % "+2"
|
||||||
}
|
}
|
||||||
|
|
||||||
.cancel-lap {
|
.cancel-lap {
|
||||||
@@ -600,7 +600,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.anglpad {
|
.anglpad {
|
||||||
padding: 0 0.03889em 0 0.03889em; // pad 1mu left and right (in scriptstyle)
|
padding: 0 0.03889em; // pad 1mu left and right (in scriptstyle)
|
||||||
}
|
}
|
||||||
|
|
||||||
.eqn-num::before {
|
.eqn-num::before {
|
||||||
|
@@ -18,7 +18,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.onPageNav a.active {
|
.onPageNav a.active {
|
||||||
background-color: rgba(27, 31, 35, 0.05);
|
background-color: rgb(27 31 35 / 5%);
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -37,7 +37,7 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.nav-footer .copyright a {
|
.nav-footer .copyright a {
|
||||||
color: rgba(255, 255, 255, 0.6);
|
color: rgb(255 255 255 / 60%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav-footer .copyright a:hover,
|
.nav-footer .copyright a:hover,
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
body {
|
body {
|
||||||
font: 16px/1.4 "Lato", "Helvetica Neue", Arial, Helvetica, sans-serif;
|
font: 16px/1.4 Lato, Helvetica Neue, Arial, Helvetica, sans-serif;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -76,7 +76,7 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.header .cta a:hover {
|
.header .cta a:hover {
|
||||||
background: rgba(255, 255, 255, 0.1);
|
background: rgb(255 255 255 / 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.demo {
|
.demo {
|
||||||
@@ -84,7 +84,7 @@ textarea {
|
|||||||
display: flex;
|
display: flex;
|
||||||
-ms-flex-wrap: wrap;
|
-ms-flex-wrap: wrap;
|
||||||
flex-wrap: wrap;
|
flex-wrap: wrap;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 0 10px rgb(0 0 0 / 30%);
|
||||||
font-size: 22px;
|
font-size: 22px;
|
||||||
margin: 50px 0 0;
|
margin: 50px 0 0;
|
||||||
}
|
}
|
||||||
@@ -112,7 +112,7 @@ textarea {
|
|||||||
.demo-instructions {
|
.demo-instructions {
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
margin-bottom: 10px;
|
margin-bottom: 10px;
|
||||||
opacity: 0.8;
|
opacity: 80%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.demo-left {
|
.demo-left {
|
||||||
@@ -158,7 +158,7 @@ textarea {
|
|||||||
|
|
||||||
.main {
|
.main {
|
||||||
background: #fff2e7;
|
background: #fff2e7;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 0 10px rgb(0 0 0 / 30%);
|
||||||
min-height: 400px;
|
min-height: 400px;
|
||||||
position: relative;
|
position: relative;
|
||||||
padding: 30px 15px;
|
padding: 30px 15px;
|
||||||
@@ -209,10 +209,10 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.main .comparison {
|
.main .comparison {
|
||||||
background-image: url(../img/katex-comparison.gif);
|
background-image: url("../img/katex-comparison.gif");
|
||||||
background-position: 50% 50%;
|
background-position: 50% 50%;
|
||||||
background-size: cover;
|
background-size: cover;
|
||||||
box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
|
box-shadow: 0 0 10px rgb(0 0 0 / 30%);
|
||||||
padding-top: 42%;
|
padding-top: 42%;
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
@@ -228,7 +228,7 @@ textarea {
|
|||||||
}
|
}
|
||||||
|
|
||||||
.main .cta a:hover {
|
.main .cta a:hover {
|
||||||
background: rgba(50, 152, 148, 0.1);
|
background: rgb(50 152 148 / 10%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer {
|
.footer {
|
||||||
@@ -267,7 +267,7 @@ textarea {
|
|||||||
|
|
||||||
#options-panel {
|
#options-panel {
|
||||||
background: #fafafa;
|
background: #fafafa;
|
||||||
box-shadow: 3px 0 3px rgba(50, 50, 50, 0.3);
|
box-shadow: 3px 0 3px rgb(50 50 50 / 30%);
|
||||||
position: fixed;
|
position: fixed;
|
||||||
top: 0;
|
top: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
|
Reference in New Issue
Block a user