• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

sveltejs / svelte-eslint-parser / 5227318222
95%

Build:
DEFAULT BRANCH: main
Ran 10 Jun 2023 01:12AM UTC
Jobs 1
Files 38
Run time 1s
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

10 Jun 2023 01:09AM UTC coverage: 90.655% (-0.01%) from 90.665%
5227318222

push

github

web-flow
Added style AST to parser services (#340)

* Added postcss and postcss-scss as dependencies

* Parsing style AST as part of parser services

* Added a JSDoc for parseStyleAst, removed commented out code

* Added a changeset for PostCSS AST with parser services

* Wrapped style AST in StyleContext

* Logging postcss parse error to StyleContext

* Moved style constext parsing to own file

* Fixed PostCSS node locations

* Not logging PostCSS errors for now

* Using a discriminated union for StyleContext

* Including parsing errors in StyleContext

* Added infrastructure for style-context tests

* Added a test with self-closing style element

* Not printing file name in style-context test fixtures

* Passing style element to fixPostCSSNodeLocation

* Fixed column offset on style root node

* Added a PostCSS AST test with simple CSS

* Added a PostCSS AST test with empty <style> element

* Fixed column offset in one-line styles

* Added a test for one-line style

* Ignoring another possible filename location in style-context tests

* Added tests with invalid style

* Added tests with unknown style lang

* Added a test for parsing SCSS

* Added a test with unrelated style attribute

* ESLint fix

* Added a converter functions for ESTree-style range and location for PostCSS nodes

* Fixed incorrect Range conversion

* Added tests for converter functions for ESTree-style range and location for PostCSS nodes

* Exposing the StyleContext interface

* Exposing styleNodeLoc and styleNodeRange functions as part of the parser services

---------

Co-authored-by: Yosuke Ota <otameshiyo23@gmail.com>

942 of 1119 branches covered (84.18%)

Branch coverage included in aggregate %.

46 of 46 new or added lines in 3 files covered. (100.0%)

2172 of 2316 relevant lines covered (93.78%)

27392.08 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
2
89.61
src/parser/style-context.ts
Jobs
ID Job ID Ran Files Coverage
1 5227318222.1 10 Jun 2023 01:12AM UTC 38
90.66
GitHub Action Run
Source Files on build 5227318222
  • Tree
  • List 38
  • Changed 24
  • Source Changed 2
  • Coverage Changed 24
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #5227318222
  • d170f915 on github
  • Prev Build on main (#5227307026)
  • Next Build on main (#5227319944)
  • Delete
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc