Skip to content

Commit

Permalink
fix eslint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
codecodeio committed May 23, 2024
1 parent 214c6b9 commit 91c47aa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion best-cigars-guide/blocks/nav/nav.css
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
text-decoration: underline;
}

.breadcrumb_last {
.breadcrumb-last {
color: #333;
font-weight: 400;
}
Expand Down
2 changes: 1 addition & 1 deletion best-cigars-guide/blocks/nav/nav.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function createBreadcrumbs() {

span.appendChild(anchor);
} else {
span.className = 'breadcrumb_last';
span.className = 'breadcrumb-last';
span.setAttribute('aria-current', 'page');
span.textContent = item.replace(/-/g, ' ').replace(/\b\w/g, (char) => char.toUpperCase()); // Capitalize words
}
Expand Down
2 changes: 2 additions & 0 deletions best-cigars-guide/styles/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@
* governing permissions and limitations under the License.
*/

/* eslint-disable rule-empty-line-before */

:root {
/* colors */
--link-color: #035fe6;
Expand Down

0 comments on commit 91c47aa

Please sign in to comment.