mirror of
https://github.com/react/react-native-devtools-frontend.git
synced 2026-09-30 17:27:22 +08:00
This reverts commitf2ea2c940d. Reason for revert: https://ci.chromium.org/ui/p/devtools-frontend/builders/try/dtf_presubmit_linux/b8831129368825517985/overview Original change's description: > Reland "Update stylelint to 14.0.1" > > This reverts commit6c0f161c95. > > Reason for revert: the prerequisite CL (https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3259703) has landed > > Original change's description: > > Revert "Update stylelint to 14.0.1" > > > > This reverts commit1e08ee816b. > > > > Reason for revert: tree is closed due to errors https://ci.chromium.org/ui/p/devtools-frontend/builders/ci/Stand-alone%20Linux/8169/overview > > > > Original change's description: > > > Update stylelint to 14.0.1 > > > > > > This also upgrades PostCSS to 8.3.11. > > > > > > DISABLE_THIRD_PARTY_CHECK=Updating Stylelint configuration > > > R=szuend@chromium.org > > > > > > Bug: none > > > Change-Id: I606540b03509d7c6e73f3d490327cd4174e03d31 > > > Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3259541 > > > Reviewed-by: Simon Zünd <szuend@chromium.org> > > > Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> > > > > Bug: none > > Change-Id: Icb1c02b41dbccc3b4fc5760f5dd0b78eca078b61 > > No-Presubmit: true > > No-Tree-Checks: true > > No-Try: true > > Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3263399 > > Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> > > Owners-Override: Alex Rudenko <alexrudenko@chromium.org> > > Commit-Queue: Alex Rudenko <alexrudenko@chromium.org> > > DISABLE_THIRD_PARTY_CHECK=Updating Stylelint configuration > > Bug: none > Change-Id: If132a67ee4253d27114caedd66c5ee61c774a6c7 > Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3264206 > Commit-Queue: Tim van der Lippe <tvanderlippe@chromium.org> > Reviewed-by: Simon Zünd <szuend@chromium.org> > Reviewed-by: Alex Rudenko <alexrudenko@chromium.org> Bug: none Change-Id: Idc6c9f5cc1e225c752799461eb0344e94b4ad1e5 No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/3264222 Auto-Submit: Tim van der Lippe <tvanderlippe@chromium.org> Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
56 lines
3.2 KiB
JavaScript
56 lines
3.2 KiB
JavaScript
"use strict";
|
||
|
||
exports.__esModule = true;
|
||
exports.default = void 0;
|
||
|
||
var _node = _interopRequireDefault(require("./node"));
|
||
|
||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
||
|
||
function _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; subClass.__proto__ = superClass; }
|
||
|
||
/**
|
||
* Represents a comment between declarations or statements (rule and at-rules).
|
||
*
|
||
* Comments inside selectors, at-rule parameters, or declaration values
|
||
* will be stored in the `raws` properties explained above.
|
||
*
|
||
* @extends Node
|
||
*/
|
||
var Comment = /*#__PURE__*/function (_Node) {
|
||
_inheritsLoose(Comment, _Node);
|
||
|
||
function Comment(defaults) {
|
||
var _this;
|
||
|
||
_this = _Node.call(this, defaults) || this;
|
||
_this.type = 'comment';
|
||
return _this;
|
||
}
|
||
/**
|
||
* @memberof Comment#
|
||
* @member {string} text The comment’s text.
|
||
*/
|
||
|
||
/**
|
||
* @memberof Comment#
|
||
* @member {object} raws Information to generate byte-to-byte equal
|
||
* node string as it was in the origin input.
|
||
*
|
||
* Every parser saves its own properties,
|
||
* but the default CSS parser uses:
|
||
*
|
||
* * `before`: the space symbols before the node.
|
||
* * `left`: the space symbols between `/*` and the comment’s text.
|
||
* * `right`: the space symbols between the comment’s text.
|
||
*/
|
||
|
||
|
||
return Comment;
|
||
}(_node.default);
|
||
|
||
var _default = Comment;
|
||
exports.default = _default;
|
||
module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