-
Notifications
You must be signed in to change notification settings - Fork 1.3k
update linters & add stylelint #3023
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
FreeTubeBot
merged 6 commits into
FreeTubeApp:development
from
ChunkyProgrammer:update-linters-add-style-linting
Jan 3, 2023
Merged
Changes from all commits
Commits
Show all changes
6 commits
Select commit
Hold shift + click to select a range
1ea2e1a
update linters, add stylelint, switch from sass to scss
ChunkyProgrammer 6ff74c5
remove unused babel-eslint module
ChunkyProgrammer ec25bf6
fix spacing in scss files
ChunkyProgrammer a798c04
dont use npm in script calls
ChunkyProgrammer 34ad98d
dont error for `:deep` selector in css
ChunkyProgrammer 78be5e9
Merge branch 'development' into update-linters-add-style-linting
ChunkyProgrammer File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.