You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#### Fix LESS/SCSS format error ([#12536](https://github.com/prettier/prettier/pull/12536) by [@fisker](https://github.com/fisker))
6
+
7
+
<!-- prettier-ignore -->
8
+
```less
9
+
// Input
10
+
.background-gradient(@cut) {
11
+
background: linear-gradient(
12
+
to right,
13
+
@white 0%,
14
+
@white (@cut - 0.01%),
15
+
@portal-background @cut,
16
+
@portal-background 100%
17
+
);
18
+
}
19
+
20
+
// Prettier 2.6.1
21
+
TypeError: Cannot read properties of undefined (reading 'endOffset')
22
+
23
+
// Prettier 2.6.2
24
+
.background-gradient(@cut) {
25
+
background: linear-gradient(
26
+
to right,
27
+
@white 0%,
28
+
@white (@cut - 0.01%),
29
+
@portal-background @cut,
30
+
@portal-background 100%
31
+
);
32
+
}
33
+
```
34
+
35
+
#### Update `meriyah` to fix several bugs ([#12567](https://github.com/prettier/prettier/pull/12567) by [@fisker](https://github.com/fisker), fixes in [`meriyah`](https://github.com/meriyah/meriyah/) by [@3cp](https://github.com/3cp))
These plugins were especially useful when Prettier was new. By running Prettier inside your linters, you didn’t have to set up any new infrastructure and you could re-use your editor integrations for the linters. But these days you can run `prettier --check .` and most editors have Prettier support.
@@ -35,7 +33,6 @@ The downsides of those plugins are:
35
33
Finally, we have tools that run `prettier` and then immediately for example `eslint --fix` on files.
Those are useful if some aspect of Prettier’s output makes Prettier completely unusable to you. Then you can have for example `eslint --fix` fix that up for you. The downside is that these tools are much slower than just running Prettier.
Copy file name to clipboardExpand all lines: website/versioned_docs/version-stable/related-projects.md
-6
Original file line number
Diff line number
Diff line change
@@ -17,12 +17,6 @@ original_id: related-projects
17
17
-[stylelint-prettier](https://github.com/prettier/stylelint-prettier) runs Prettier as a stylelint rule and reports differences as individual stylelint issues
18
18
-[prettier-stylelint](https://github.com/hugomrdias/prettier-stylelint) passes `prettier` output to `stylelint --fix`
19
19
20
-
## TSLint Integrations
21
-
22
-
-[tslint-config-prettier](https://github.com/alexjoverm/tslint-config-prettier) use TSLint with Prettier without any conflict
23
-
-[tslint-plugin-prettier](https://github.com/ikatyang/tslint-plugin-prettier) runs Prettier as a TSLint rule and reports differences as individual TSLint issues
24
-
-[prettier-tslint](https://github.com/azz/prettier-tslint) passes `prettier` output to `tslint --fix`
25
-
26
20
## Forks
27
21
28
22
-[prettierx](https://github.com/brodybits/prettierx) less opinionated fork of Prettier
0 commit comments