Skip to content

Commit

Permalink
Fix lint issues
Browse files Browse the repository at this point in the history
  • Loading branch information
lookupdaily committed Aug 10, 2024
1 parent a622679 commit e6035b2
Show file tree
Hide file tree
Showing 5 changed files with 30 additions and 30 deletions.
7 changes: 3 additions & 4 deletions .github/workflows/build-and-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@ name: Build and test

on:
push:
branches: [ "main" ]
branches: ["main"]
pull_request:
branches: [ "main" ]
branches: ["main"]

jobs:
nodejs:
nodejs:
uses: lookupdaily/actions/.github/workflows/build-and-test.yml@main

42 changes: 21 additions & 21 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":approveMajorUpdates",
":automergeLinters",
":automergePatch",
":automergePr",
":automergeRequireAllStatusChecks",
":automergeTesters",
":dependencyDashboard"
],
"timezone": "Europe/London",
"platformAutomerge": true,
"minimumReleaseAge": "3 days",
"packageRules": [
{
"matchDatasources": ["npm"],
"minimumReleaseAge": "5 days"
}
],
"labels": ["dependencies"]
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"config:recommended",
":approveMajorUpdates",
":automergeLinters",
":automergePatch",
":automergePr",
":automergeRequireAllStatusChecks",
":automergeTesters",
":dependencyDashboard"
],
"timezone": "Europe/London",
"platformAutomerge": true,
"minimumReleaseAge": "3 days",
"packageRules": [
{
"matchDatasources": ["npm"],
"minimumReleaseAge": "5 days"
}
],
"labels": ["dependencies"]
}
5 changes: 3 additions & 2 deletions src/colour/_utilities.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
@use "sass:map";

$colours: (
primary: var(--ld-colour-primary),
primary-dark: var(--ld-colour-primary-dark),
Expand All @@ -9,7 +11,6 @@ $colours: (
white: var(--ld-colour-white),
black: var(--ld-colour-black),
);

$font-colours-for-backgrounds: (
primary: var(--ld-colour-white),
primary-dark: var(--ld-colour-white),
Expand All @@ -28,6 +29,6 @@ $font-colours-for-backgrounds: (
}
.ld-background-#{"" + $key} {
background-color: $value;
color: map-get($font-colours-for-backgrounds, $key);
color: map.get($font-colours-for-backgrounds, $key);
}
}
4 changes: 2 additions & 2 deletions src/colour/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,6 @@
--ld-colour-secondary-dark: #ba6b6c;
--ld-colour-secondary-light: #ffcccb;
--ld-colour-grey: #575757;
--ld-colour-white: #ffffff;
--ld-colour-black: #000000;
--ld-colour-white: #fff;
--ld-colour-black: #000;
}
2 changes: 1 addition & 1 deletion src/colour/index.scss
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
@import "./variables";
@import "./utilities.scss";
@import "./utilities";

0 comments on commit e6035b2

Please sign in to comment.