Fix stylelint issues
This commit is contained in:
parent
5378ba0700
commit
dd350e4998
@ -1,12 +1,8 @@
|
|||||||
{
|
{
|
||||||
"extends": ["stylelint-config-standard"],
|
"extends": ["stylelint-config-standard"],
|
||||||
"rules": {
|
"rules": {
|
||||||
"selector-class-pattern": [
|
"selector-class-pattern": null,
|
||||||
"^[a-z]([-]?[a-z0-9]+)*(__[a-z0-9]([-]?[a-z0-9]+)*)?(--[a-z0-9]([-]?[a-z0-9]+)*)?$",
|
"import-notation": "string",
|
||||||
{
|
"color-hex-length": null
|
||||||
"resolveNestedSelectors": true,
|
}
|
||||||
"message": "Expected class selector \"%s\" to match BEM CSS pattern https://en.bem.info/methodology/css. Selector validation tool: https://regexr.com/3apms"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
@ -18,7 +18,8 @@
|
|||||||
"pretest": "npm run build && docker compose up -d",
|
"pretest": "npm run build && docker compose up -d",
|
||||||
"test": "node test.cjs",
|
"test": "node test.cjs",
|
||||||
"prepare": "husky",
|
"prepare": "husky",
|
||||||
"lint": "eslint src",
|
"stylelint": "stylelint **/*.css",
|
||||||
|
"lint": "eslint src && npm run stylelint",
|
||||||
"lint-report": "npm run --silent lint -- --format json > .eslint-result.json",
|
"lint-report": "npm run --silent lint -- --format json > .eslint-result.json",
|
||||||
"pretest-reports": "npm run build --ignore-scripts && rm -fr .xunit coverage",
|
"pretest-reports": "npm run build --ignore-scripts && rm -fr .xunit coverage",
|
||||||
"test-reports": "npx c8 --exclude \"\" ./node_modules/.bin/mocha --recursive --timeout=10000 --require source-map-support/register 'dist/**/*.test.js' --exit && c8 report --reporter cobertura --exclude \"\"",
|
"test-reports": "npx c8 --exclude \"\" ./node_modules/.bin/mocha --recursive --timeout=10000 --require source-map-support/register 'dist/**/*.test.js' --exit && c8 report --reporter cobertura --exclude \"\"",
|
||||||
|
@ -14,7 +14,6 @@ body {
|
|||||||
|
|
||||||
.delete-button {
|
.delete-button {
|
||||||
height: 1rem;
|
height: 1rem;
|
||||||
padding: 0;
|
|
||||||
line-height: 0;
|
line-height: 0;
|
||||||
padding: 0.5rem;
|
padding: 0.5rem;
|
||||||
}
|
}
|
||||||
@ -28,10 +27,11 @@ nav {
|
|||||||
display: flex;
|
display: flex;
|
||||||
flex-flow: row wrap;
|
flex-flow: row wrap;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
ul {
|
ul {
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 8px;
|
gap: 8px;
|
||||||
padding-left: 0px;
|
padding-left: 0;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
@ -18,7 +18,7 @@ th {
|
|||||||
thead th {
|
thead th {
|
||||||
background-color: #ddd;
|
background-color: #ddd;
|
||||||
border-style: solid;
|
border-style: solid;
|
||||||
border-width: 1px 0 1px 0;
|
border-width: 1px 0;
|
||||||
border-color: #777;
|
border-color: #777;
|
||||||
padding: 9px 7px;
|
padding: 9px 7px;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user