Skip to content

Commit 4306d05

Browse files
author
Darga Darga
authored
Merge pull request #8 from dargaCode/feature/minimal-hello-world
Begin stripping down the code for a hello world
2 parents f06ac4a + 354d42e commit 4306d05

File tree

65 files changed

+61
-1088
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

65 files changed

+61
-1088
lines changed

.eslintrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
const whitelistedWords = require("./spellcheck.allowlist.js");
1+
const allowedWords = require("./spellcheck.allowlist.js");
22

33
module.exports = {
44
extends: [
@@ -56,7 +56,7 @@ module.exports = {
5656
"spellcheck/spell-checker": [
5757
2,
5858
{
59-
skipWords: whitelistedWords,
59+
skipWords: allowedWords,
6060
skipIfMatch: ["^http"]
6161
}
6262
]

.stylelintrc.js

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
module.exports = {
2-
extends: ["stylelint-config-standard", "stylelint-config-sass-guidelines"],
2+
extends: [
3+
"stylelint-config-standard",
4+
"stylelint-config-sass-guidelines",
5+
"stylelint-config-prettier"
6+
],
37
rules: {
48
"max-nesting-depth": [
59
1,
@@ -11,6 +15,6 @@ module.exports = {
1115
"color-no-hex": true,
1216
"color-no-invalid-hex": true,
1317
"color-named": "never",
14-
"function-whitelist": ["calc", "url", "format", "map-get", "local"] // no rgb colors
18+
"function-allowed-list": ["calc", "url", "format", "map-get", "local"] // no rgb colors
1519
}
1620
};

package-lock.json

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@
7676
"source-map-loader": "^0.2.4",
7777
"style-loader": "^1.1.2",
7878
"stylelint": "^13.3.3",
79+
"stylelint-config-prettier": "^8.0.2",
7980
"stylelint-config-sass-guidelines": "^7.0.0",
8081
"stylelint-config-standard": "^20.0.0",
8182
"ts-jest": "^26.0.0",

spellcheck.allowlist.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// words to whitelist in eslint
1+
// words to allow in eslint spellcheck
22
module.exports = [
33
"api",
44
"arg",
@@ -111,7 +111,6 @@ module.exports = [
111111
"utils",
112112
"validator",
113113
"webpack",
114-
"whitelist",
115114
"woff",
116115
"woff2",
117116
"www",

src/components/about/AboutSection.module.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,12 @@
33

44
.content-section {
55
background-attachment: scroll;
6-
background-image: url('../../img/mountains-grey.jpg');
6+
background-image: url("../../img/mountains-grey.jpg");
77
background-position: center;
88
background-repeat: no-repeat;
99
background-size: cover;
1010
color: config.$about-section-text-color;
11-
font-family: 'Roboto', sans-serif;
11+
font-family: "Roboto", sans-serif;
1212
font-size: 20px;
1313
height: 100vh;
1414
min-height: 775px;

src/components/contact/ContactSection.module.scss

Lines changed: 0 additions & 9 deletions
This file was deleted.

src/components/contact/ContactSection.test.tsx

Lines changed: 0 additions & 13 deletions
This file was deleted.

src/components/contact/ContactSection.tsx

Lines changed: 0 additions & 17 deletions
This file was deleted.

src/components/loading/Loading.test.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import React from "react";
22
import { shallow } from "enzyme";
3-
import { classSelector } from "../../utils/jestUtils";
3+
import { classSelector } from "../../utils/testUtils";
44
import styles from "./Loading.module.scss";
55
import Loading from "./Loading";
66

0 commit comments

Comments
 (0)