-
Notifications
You must be signed in to change notification settings - Fork 881
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
update linters & add stylelint (#3023)
* update linters, add stylelint, switch from sass to scss * remove unused babel-eslint module * fix spacing in scss files * dont use npm in script calls * dont error for `:deep` selector in css
- Loading branch information
1 parent
bc44e27
commit 43a25f8
Showing
81 changed files
with
2,309 additions
and
1,386 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
src/data/ | ||
src/datastores/ | ||
src/main/ | ||
src/renderer/videoJS.css | ||
dist/ | ||
static/ | ||
node_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
{ | ||
"plugins": ["stylelint-high-performance-animation", "@double-great/stylelint-a11y"], | ||
"extends": ["stylelint-config-standard", "stylelint-config-sass-guidelines"], | ||
"overrides": [ | ||
{ | ||
"files": ["**/*.scss"], | ||
"customSyntax": "postcss-scss", | ||
"rules": { | ||
"max-nesting-depth": null, | ||
"selector-max-compound-selectors": null | ||
} | ||
}, | ||
{ | ||
"files": ["**/*.css"], | ||
"rules": { | ||
"a11y/media-prefers-reduced-motion": true, | ||
"a11y/no-outline-none": true, | ||
"a11y/selector-pseudo-class-focus": true, | ||
"a11y/font-size-is-readable": true | ||
} | ||
} | ||
], | ||
"rules": { | ||
"selector-class-pattern": null, | ||
"selector-id-pattern": null, | ||
"plugin/no-low-performance-animation-properties": true, | ||
"selector-pseudo-class-no-unknown": [ | ||
true, | ||
{ | ||
"ignorePseudoClasses": ["deep"] | ||
} | ||
] | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 0 additions & 2 deletions
2
src/renderer/components/download-settings/download-settings.sass
This file was deleted.
Oops, something went wrong.
3 changes: 3 additions & 0 deletions
3
src/renderer/components/download-settings/download-settings.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.folderDisplay { | ||
width: 50vh; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 0 additions & 14 deletions
14
src/renderer/components/ft-age-restricted/ft-age-restricted.sass
This file was deleted.
Oops, something went wrong.
19 changes: 19 additions & 0 deletions
19
src/renderer/components/ft-age-restricted/ft-age-restricted.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
.ft-age-restricted { | ||
color: var(primary-text-color); | ||
|
||
h2 { | ||
background-color: var(card-bg-color); | ||
padding: 10px 0; | ||
text-align: center; | ||
width: 100%; | ||
} | ||
|
||
.frown { | ||
background-color: var(card-bg-color); | ||
font-size: 10em; | ||
height: 100%; | ||
padding: 20px 0; | ||
text-align: center; | ||
width: 100%; | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
.ft-auto-grid { | ||
&.grid { | ||
display: grid; | ||
grid-gap: 8px; | ||
grid-template-columns: repeat(auto-fill, minmax(262px, 1fr)); | ||
justify-content: space-evenly; | ||
} | ||
|
||
&.list { | ||
display: grid; | ||
grid-gap: 4px; | ||
} | ||
} |
Oops, something went wrong.