-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* New email * Upgrade dependencies * Use npm instead of yarn * Delete README.md * 🐦 Twitter Print Styles v2 - Rewrite JS & CSS to work with the latest version of Twitter. - Allow extension to run on all Twitter pages (since Twitter is a SPA now). - Update JavaScript code to ES6. - Update package.json. - Update stylelint config. - Replace JSHint with ESLint. - Add EditorConfig. - Add a changelog.
- Loading branch information
1 parent
bafb82b
commit b19e74c
Showing
16 changed files
with
5,961 additions
and
2,359 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
root = true | ||
|
||
# Defaults | ||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
trim_trailing_whitespace = true | ||
|
||
# Markdown | ||
[*.md] | ||
indent_size = 4 |
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,27 @@ | ||
{ | ||
"extends": [ | ||
"plugin:cypress/recommended", | ||
"eslint-config-airbnb-base" | ||
], | ||
"env": { | ||
"browser": true, | ||
"es6": true | ||
}, | ||
"globals": { | ||
"chrome" | ||
}, | ||
"rules": { | ||
"arrow-body-style": "off", | ||
"class-methods-use-this": "off", | ||
"no-alert": "off", | ||
"no-await-in-loop": "off", | ||
"no-console": "off", | ||
"no-loop-func": "off", | ||
"no-param-reassign": "off", | ||
"no-return-assign": "off", | ||
"no-underscore-dangle": "off", | ||
"object-curly-newline": "off", | ||
"prefer-destructuring": "off", | ||
"prefer-template": "off" | ||
} | ||
} |
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 |
---|---|---|
@@ -1,99 +1,15 @@ | ||
{ | ||
"extends": "stylelint-config-property-sort-order-smacss", | ||
"plugins": [ | ||
"stylelint-order" | ||
], | ||
"extends": [ | ||
"stylelint-config-standard", | ||
"stylelint-config-property-sort-order-smacss", | ||
], | ||
"rules": { | ||
"at-rule-name-case": "lower", | ||
"at-rule-name-space-after": "always", | ||
"at-rule-semicolon-space-before": "never", | ||
"block-closing-brace-empty-line-before": "never", | ||
"block-closing-brace-newline-after": ["always", { | ||
"ignoreAtRules": ["if", "else"] | ||
}], | ||
"block-closing-brace-newline-before": "always-multi-line", | ||
"block-closing-brace-space-before": "always-single-line", | ||
"block-no-empty": true, | ||
"block-opening-brace-newline-after": "always-multi-line", | ||
"block-opening-brace-space-after": "always-single-line", | ||
"block-opening-brace-space-before": "always", | ||
"color-hex-case": "lower", | ||
"color-named": "never", | ||
"color-no-invalid-hex": true, | ||
"comment-no-empty": true, | ||
"declaration-bang-space-after": "never", | ||
"declaration-bang-space-before": "always", | ||
"declaration-block-no-duplicate-properties": [true, { | ||
"ignore": ["consecutive-duplicates-with-different-values"] | ||
}], | ||
"declaration-block-no-redundant-longhand-properties": true, | ||
"declaration-block-no-shorthand-property-overrides": true, | ||
"declaration-block-semicolon-newline-after": "always-multi-line", | ||
"declaration-block-semicolon-newline-before": "never-multi-line", | ||
"declaration-block-semicolon-space-after": "always-single-line", | ||
"declaration-block-semicolon-space-before": "never", | ||
"declaration-block-single-line-max-declarations": 3, | ||
"declaration-block-trailing-semicolon": "always", | ||
"declaration-colon-newline-after": "always-multi-line", | ||
"declaration-colon-space-after": "always-single-line", | ||
"declaration-colon-space-before": "never", | ||
"function-calc-no-unspaced-operator": true, | ||
"function-comma-space-after": "always-single-line", | ||
"function-comma-space-before": "never-single-line", | ||
"function-linear-gradient-no-nonstandard-direction": true, | ||
"function-max-empty-lines": 0, | ||
"function-name-case": "lower", | ||
"function-parentheses-newline-inside": "always-multi-line", | ||
"function-parentheses-space-inside": "never-single-line", | ||
"function-whitespace-after": "always", | ||
"indentation": [2, { | ||
"indentClosingBrace": false | ||
}], | ||
"comment-empty-line-before": null, | ||
"max-empty-lines": 3, | ||
"max-nesting-depth": 5, | ||
"media-feature-colon-space-after": "always", | ||
"media-feature-colon-space-before": "never", | ||
"media-feature-name-case": "lower", | ||
"media-feature-name-no-unknown": true, | ||
"media-feature-parentheses-space-inside": "never", | ||
"media-feature-range-operator-space-after": "always", | ||
"media-feature-range-operator-space-before": "always", | ||
"media-query-list-comma-newline-after": "always-multi-line", | ||
"media-query-list-comma-newline-before": "never-multi-line", | ||
"media-query-list-comma-space-after": "always-single-line", | ||
"media-query-list-comma-space-before": "never", | ||
"no-eol-whitespace": true, | ||
"no-extra-semicolons": true, | ||
"no-invalid-double-slash-comments": true, | ||
"no-missing-end-of-source-newline": true, | ||
"number-leading-zero": "always", | ||
"property-case": "lower", | ||
"property-no-unknown": true, | ||
"selector-attribute-brackets-space-inside": "never", | ||
"selector-attribute-operator-space-after": "never", | ||
"selector-attribute-operator-space-before": "never", | ||
"selector-attribute-quotes": "always", | ||
"selector-combinator-space-after": "always", | ||
"selector-combinator-space-before": "always", | ||
"selector-descendant-combinator-no-non-space": true, | ||
"selector-list-comma-newline-after": "always-multi-line", | ||
"selector-list-comma-newline-before": "never-multi-line", | ||
"selector-list-comma-space-after": "always-single-line", | ||
"selector-list-comma-space-before": "never", | ||
"selector-max-compound-selectors": 5, | ||
"selector-max-empty-lines": 0, | ||
"selector-pseudo-class-case": "lower", | ||
"selector-pseudo-class-no-unknown": true, | ||
"selector-pseudo-class-parentheses-space-inside": "never", | ||
"selector-pseudo-element-case": "lower", | ||
"selector-pseudo-element-colon-notation": "double", | ||
"selector-pseudo-element-no-unknown": true, | ||
"selector-type-case": "lower", | ||
"selector-type-no-unknown": true, | ||
"shorthand-property-no-redundant-values": true, | ||
"unit-case": "lower", | ||
"unit-no-unknown": true, | ||
"value-keyword-case": "lower", | ||
"value-list-comma-newline-after": "always-multi-line", | ||
"value-list-comma-space-after": "always-single-line", | ||
"value-list-comma-space-before": "never", | ||
"value-list-max-empty-lines": 0 | ||
"no-descending-specificity": null, | ||
"no-duplicate-selectors": null | ||
} | ||
} |
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,32 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/) | ||
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## 2.0.0 - 2020-08-31 | ||
|
||
### Changed | ||
|
||
- Rewrite JS & CSS to work with the latest version of Twitter. | ||
- Allow extension to run on all Twitter pages (since Twitter is a SPA now). | ||
- Update JavaScript code to ES6. | ||
- Update `package.json` (and remove yarn). | ||
- Update linters and formatters (stylelint, eslint, editorconfig). | ||
|
||
## 1.0.0 - 2018-01-12 | ||
|
||
### Added | ||
|
||
- Load entire thread (auto-scroll and open all "more replies"). | ||
- Link timestamp of tweet to current page. | ||
- Prevent tall images from overflowing the page. | ||
- Automatically print when replies have finished loading. | ||
- Hide promoted tweets. | ||
|
||
[Unreleased]: https://github.com/tannerhodges/snap-slider/compare/v2.0.0...HEAD | ||
[2.0.0]: https://github.com/tannerhodges/snap-slider/compare/v1.0.0...v2.0.0 | ||
[1.0.0]: https://github.com/tannerhodges/snap-slider/releases/tag/v1.0.0 |
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
Oops, something went wrong.