Skip to content

Commit

Permalink
refactor: prettier code formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
mfranzke committed Dec 4, 2021
1 parent 60acfa1 commit 03b5763
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 9 deletions.
Original file line number Diff line number Diff line change
@@ -1 +1 @@
I'm the hidden atom
I'm the hidden atom
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Hello world!
{{subtitle}}
{{subtitle}}
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Hello world!
Hello world!
3 changes: 2 additions & 1 deletion packages/engine-twig/lib/engine_twig.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,8 @@ var engine_twig = {
engineFileExtension: '.twig',

// regexes, stored here so they're only compiled once
findPartialsRE: /{%[-]?\s*(?:extends|include|embed|from|import|use)\s+('[^']+'|"[^"]+").*?%}/g,
findPartialsRE:
/{%[-]?\s*(?:extends|include|embed|from|import|use)\s+('[^']+'|"[^"]+").*?%}/g,
findPartialKeyRE: /"((?:\\.|[^"\\])*)"/,
findListItemsRE:
/({{#( )?)(list(I|i)tems.)(one|two|three|four|five|six|seven|eight|nine|ten|eleven|twelve|thirteen|fourteen|fifteen|sixteen|seventeen|eighteen|nineteen|twenty)( )?}}/g, // TODO
Expand Down
5 changes: 1 addition & 4 deletions packages/uikit-workshop/src/html/partials/base-template.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,7 @@
{{# descBlockExists }}

<div
class="
pl-c-pattern-info__panel pl-c-pattern-info__panel--info
pl-js-pattern-info
"
class="pl-c-pattern-info__panel pl-c-pattern-info__panel--info pl-js-pattern-info"
>
{{# isPatternView }}
<!-- extra info for modal view -->
Expand Down
2 changes: 1 addition & 1 deletion packages/uikit-workshop/webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ module.exports = function (apiConfig) {
options: {
sassOptions: {
sourceMap: config.sourceMaps,
outputStyle: 'expanded'
outputStyle: 'expanded',
},
},
},
Expand Down

0 comments on commit 03b5763

Please sign in to comment.