Skip to content

Commit

Permalink
Chore: repaired broken Sass lint
Browse files Browse the repository at this point in the history
  • Loading branch information
DConnorFong committed Nov 13, 2020
1 parent e6e919a commit 16c84a7
Show file tree
Hide file tree
Showing 4 changed files with 22 additions and 8 deletions.
2 changes: 2 additions & 0 deletions .stylelintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": [
"stylelint-config-standard",
"stylelint-config-sass-guidelines",
"stylelint-prettier/recommended"
],
"rules": {
"max-nesting-depth": 3,
"prettier/prettier": true,
"selector-max-id": 1,
"selector-no-qualifying-type": [
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"scripts": {
"start": "react-scripts start",
"lint": "eslint src/**/*.ts{,x}",
"lint-style": "stylelint **/*.scss",
"lint-style": "stylelint src/**/*.scss",
"build": "react-scripts build",
"test": "react-scripts test",
"eject": "react-scripts eject"
Expand Down
14 changes: 7 additions & 7 deletions src/views/Login.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,28 @@
}

.left-section {
height: 100vh;
display: flex;
align-items: center;
display: flex;
height: 100vh;
}

.right-section {
position: relative;
color: #fff;
height: 100vh;
color: white;
position: relative;
.sign-in {
width: 50%;
margin: auto;
position: relative;
top: 50%;
transform: translateY(-50%);
width: 50%;
.link {
color: white;
color: #fff;
}

.link:hover {
text-decoration: underline;
box-shadow: 0 8px 16px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
text-decoration: underline;
}
}
}
12 changes: 12 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -11962,6 +11962,11 @@ stylelint-config-prettier@^8.0.2:
resolved "https://registry.yarnpkg.com/stylelint-config-prettier/-/stylelint-config-prettier-8.0.2.tgz#da9de33da4c56893cbe7e26df239a7374045e14e"
integrity sha512-TN1l93iVTXpF9NJstlvP7nOu9zY2k+mN0NSFQ/VEGz15ZIP9ohdDZTtCWHs5LjctAhSAzaILULGbgiM0ItId3A==

stylelint-config-recommended@^3.0.0:
version "3.0.0"
resolved "https://registry.yarnpkg.com/stylelint-config-recommended/-/stylelint-config-recommended-3.0.0.tgz#e0e547434016c5539fe2650afd58049a2fd1d657"
integrity sha512-F6yTRuc06xr1h5Qw/ykb2LuFynJ2IxkKfCMf+1xqPffkxh0S09Zc902XCffcsw/XMFq/OzQ1w54fLIDtmRNHnQ==

stylelint-config-sass-guidelines@^7.1.0:
version "7.1.0"
resolved "https://registry.yarnpkg.com/stylelint-config-sass-guidelines/-/stylelint-config-sass-guidelines-7.1.0.tgz#7838fe04eee649a2444b568a32c904a26b5d6c1e"
Expand All @@ -11970,6 +11975,13 @@ stylelint-config-sass-guidelines@^7.1.0:
stylelint-order "^4.0.0"
stylelint-scss "^3.18.0"

stylelint-config-standard@^20.0.0:
version "20.0.0"
resolved "https://registry.yarnpkg.com/stylelint-config-standard/-/stylelint-config-standard-20.0.0.tgz#06135090c9e064befee3d594289f50e295b5e20d"
integrity sha512-IB2iFdzOTA/zS4jSVav6z+wGtin08qfj+YyExHB3LF9lnouQht//YyB0KZq9gGz5HNPkddHOzcY8HsUey6ZUlA==
dependencies:
stylelint-config-recommended "^3.0.0"

stylelint-order@^4.0.0, stylelint-order@^4.1.0:
version "4.1.0"
resolved "https://registry.yarnpkg.com/stylelint-order/-/stylelint-order-4.1.0.tgz#692d05b7d0c235ac66fcf5ea1d9e5f08a76747f6"
Expand Down

0 comments on commit 16c84a7

Please sign in to comment.