thysultan / stylis

light – weight css preprocessor
https://stylis.js.org
MIT License
1.71k stars 82 forks source link

style: enable eslint `no-else-after-return` #291

Closed SukkaW closed 2 years ago

SukkaW commented 2 years ago

Enable ESLint's built-in rule no-else-after-return.

And according to the rollup-plugin-size, the emitted dist decreaseds by 4 bytes after the change.

coveralls commented 2 years ago

Pull Request Test Coverage Report for Build 6663522a711ca508c191799a212eb5fb4baedaf8-PR-291


Totals Coverage Status
Change from base Build 55c363f844a20b983d1dcee68be35716b393ee5d: 0.0%
Covered Lines: 270
Relevant Lines: 272

💛 - Coveralls