Skip to content
This repository was archived by the owner on Aug 7, 2023. It is now read-only.

Deprecated selector in linter-shellcheck/styles/note.less #86

Closed
molovo opened this issue Nov 10, 2016 · 2 comments
Closed

Deprecated selector in linter-shellcheck/styles/note.less #86

molovo opened this issue Nov 10, 2016 · 2 comments
Labels

Comments

@molovo
Copy link

molovo commented Nov 10, 2016

In linter-shellcheck/styles/note.less:

Starting from Atom v1.13.0, the contents of atom-text-editor elements are no longer encapsulated within a shadow DOM boundary. This means you should stop using :host and ::shadow pseudo-selectors, and prepend all your syntax selectors with syntax--. To prevent breakage with existing style sheets, Atom will automatically upgrade the following selectors:

  • atom-text-editor::shadow .linter-highlight.note, .linter-highlight.note => atom-text-editor.editor .linter-highlight.syntax--note, .linter-highlight.note

  • atom-text-editor::shadow .linter-highlight.note:not(.line-number), .linter-highlight.note:not(.line-number) => atom-text-editor.editor .linter-highlight.syntax--note:not(.line-number), .linter-highlight.note:not(.line-number)

  • atom-text-editor::shadow .linter-highlight.note .linter-gutter, .linter-highlight.note .linter-gutter => atom-text-editor.editor .linter-highlight.syntax--note .linter-gutter, .linter-highlight.note .linter-gutter

  • atom-text-editor::shadow .linter-highlight.note .region, .linter-highlight.note .region => atom-text-editor.editor .linter-highlight.syntax--note .region, .linter-highlight.note .region

Automatic translation of selectors will be removed in a few release cycles to minimize startup time. Please, make sure to upgrade the above selectors as soon as possible.

@Cxarli
Copy link

Cxarli commented Nov 11, 2016

This message is also showing on my system:

Atom: 1.13.0-beta1
OS: Linux 4.4.0-32-generic #51-Ubuntu (Ubuntu 16.04)
Node: v6.9.1
npm: v4.0.2
apm: v1.1.1

@dflock
Copy link

dflock commented Nov 14, 2016

atom/atom#12903

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

No branches or pull requests

4 participants