Liam Newman
87bdfd0154
Fix two spacing issue in CSS
2022-06-20 13:26:35 -07:00
Liam Newman
4cc5e6ef5b
Merge branch 'main' into feature/space-after-named-function-classes
2022-04-21 17:30:35 -07:00
Liam Newman
4b6ba1be74
Merge branch 'main' into in-class-method
2022-04-21 10:01:39 -07:00
Liam Newman
11f2dae290
Merge branch 'main' into feature/space-after-named-function-classes
2022-04-20 21:12:20 -07:00
avento
7fe98948dc
reran cli
2022-04-18 17:03:07 -04:00
avento
c50fc92c9a
deleted invalid option
2022-04-16 18:12:44 -04:00
avento
9a1268ea11
fixed style problems and condensed conditions
2022-04-16 15:19:23 -04:00
avento
63c9ffa11c
solution to partials not seperated by spaces
2022-04-15 13:14:34 -04:00
Liam Newman
4df0273a74
Merge pull request #2034 from zalsaedy/handlebars-1988
...
[Issue #1988 ] Added support to recognize Handlebars block with whitespace control
2022-04-13 11:50:01 -07:00
Hammad
0b35ee91b9
Instead of just relying on the text to confirm last token, also check for the type to be reserved token this way we will be sure that it is actually the special word class instead of a property called class
2022-04-13 03:24:20 -02:30
Liam Newman
73e57eef86
Merge pull request #2011 from bhaveshvasnani/remove_whitespace_number
...
[Issue 1950] Do not remove whitespace after number
2022-04-12 14:50:17 -07:00
Liam Newman
5344f24bf0
Merge pull request #2035 from mhnaeem/bug/add-grid-template-areas-to-non-semicolon-list
...
Add grid-template-areas to NON_SEMICOLON_NEWLINE_PROPERTY list
2022-04-12 12:36:47 -07:00
Hammad
1f1f5db201
Accommodating for the fact that the last last token can be of type class but it doesn't necessarily have to be the keyword class
2022-04-12 03:33:09 -02:30
Liam Newman
ade6603f3a
Merge pull request #2039 from mhnaeem/feature/support-forwards-syntax-sass
...
Fixes #1976 Adding support for the new @forwards syntax in SASS
2022-04-11 22:08:29 -07:00
Hammad
889492414d
#1976 adding support for the new @forwards syntax in SASS
2022-04-11 21:19:35 -02:30
Hammad
9cceee0d74
Fix issue #1095 where special words like return without semicolon are followed by prefix operators on newlines
2022-04-11 18:48:10 -02:30
Hammad
ffe9292b3f
Add grid-template-areas to NON_SEMICOLON_NEWLINE_PROPERTY list
2022-04-11 18:10:45 -02:30
zalsaedy
e8c5bdf175
Fixed #1988 and added unit tests
2022-04-11 15:55:12 -04:00
Hammad
027026093e
#1622 - Adds space_after_named_function option for ES6 classes
2022-04-11 03:33:56 -02:30
Liam Newman
5ca6beed8a
Merge branch 'main' into remove_whitespace_number
2022-04-09 08:56:24 -07:00
Hammad
9981a93e25
Adding basic support for SCSS/SASS maps
2022-04-08 01:16:16 -02:30
Liam Newman
a5995d0b5d
Merge branch 'main' into in-class-method
2022-04-06 23:24:29 -07:00
Liam Newman
fe57c7bd3a
Merge branch 'main' into bug/css-grid-template-property-fix
2022-04-06 23:23:20 -07:00
Hammad
69789d1ae9
Fix issue #1817 - css property values that have multiple parts and if followed by a string lose formatting. Also add multiline support for grid-template property
2022-04-07 02:52:34 -02:30
Hammad
784bd1e82d
Fixing issues with spacing when an object literal lives inside a mixin call
2022-04-06 22:31:51 -02:30
Hammad
f0740309dd
Identifying block statements from object literals for objects that have class/interface as key type. Also added some regression tests
2022-04-05 21:34:47 -02:30
Hammad
6ed8dc8bc4
Checking to make sure that the token with text 'class' or 'interface' has whitespace after it to be considered a block statement, otherwise treat as object literal
2022-04-02 22:42:35 -02:30
Liam Newman
4e56dca3e1
Merge branch 'main' into remove_whitespace_number
2022-03-31 08:59:46 -07:00
Liam Newman
33df40fcdc
Merge pull request #1997 from mhnaeem/feature/support-import-meta-syntax
...
feature: support import.meta syntax
2022-03-29 11:59:19 -07:00
kcamsanc
47c63b65fb
[ISSUE 1846] Resolve indent issue with class method named in
2022-03-28 21:57:31 -04:00
kcamsanc
3145b1d4a3
Revert "hi"
...
This reverts commit 5223190cb0
.
2022-03-28 20:13:46 -04:00
kcamsanc
5223190cb0
hi
2022-03-28 20:13:09 -04:00
Muhammad Hammad
f270c194eb
feature: support import.meta syntax and treat it different from an import statement
2022-03-05 17:58:43 -03:30
Muhammad Hammad
d9358dcc96
additions: Added support for logical NULL, AND, OR assignments for the beautifier. Related to ticket #1991
2022-03-05 14:44:28 -03:30
bhaveshvasnani
fce2471d9e
regex for js implementation, need to do the same for py
2022-02-18 19:17:39 +05:30
Bhavesh Vasnani
e62e45467e
used regex to detect number
2022-02-11 00:09:43 +05:30
Bhavesh Vasnani
88d5f2af4f
added logic to detect number before token
2022-02-05 20:17:45 +05:30
Kevin Backhouse
19c5862299
GHSL-2021-113: Fix ReDoS bug (second attempt).
2021-12-08 11:08:37 +00:00
Ansh Saini
e77f74b140
handle bitwise ~ operator
2021-06-25 01:08:24 +05:30
Liam Newman
60228b35c4
Merge pull request #1947 from hmnd/fix/handlebars-partials-with-params
...
Support handlebars partial blocks with parameters
2021-06-23 14:56:21 -07:00
Reshma R
6ca0918cf3
remove redundant condition
2021-06-23 21:53:00 +05:30
David Roizenman
f8829d5af8
Support handlebars partial blocks with parameters
...
Fixes #1946
2021-06-22 01:23:03 -07:00
Reshma R
1871e177e3
push changes after "make all"
2021-06-19 13:02:14 +05:30
Reshma R
7c94edb307
issue #1683 : fix switch case indentation
...
problem: Wrong indentation observed when the last line in a case is a right
brace.
solution: Deindent for case/default token is skipped whenever the previous
token is a right brace.
However this logic doesn't always work as highlighted in the issue.
Added code to skip deindent only if the closing right brace corresponds to
opening left brace of case action block.
2021-06-19 01:39:56 +05:30
Rheidner
3e678a41ff
Issue beautify-web#1934 modify number regex to allow bigint octals, binarys and hexadecimals.
2021-05-24 11:44:45 -03:00
Liam Newman
c59643abd4
Merge pull request #1800 from TomAnthony/fix-selector_separator_newline-on-extend
...
Fix erroneous newline added on @extend statements
2021-05-20 15:29:28 -07:00
Liam Newman
47043fb0fc
Merge pull request #1844 from mrmonroe/issue/underscores_1836
...
Numbers should be allowed to contain underscores.
2021-05-20 13:03:59 -07:00
Timo Tijhof
5a0823ae69
Use native mkdirSync instead of 'mkdirp' package
...
In Node.js 10 and later, recursive mkdir is available in core.
<https://nodejs.org/docs/latest-v10.x/api/fs.html#fs_fs_mkdirsync_path_options >
2021-05-17 22:04:28 +01:00
Liam Newman
fd055237e5
Merge remote-tracking branch 'upstream/main' into fix-selector_separator_newline-on-extend
2021-04-20 14:08:44 -07:00
Tom Anthony
4c650f971e
Add tests for @extend newline error.
2021-04-18 13:43:11 +02:00