Comments (2)
if i add to ~/.prettierrc.json this line
"plugins": ["@prettier/plugin-php"],
then i get error:
[error] Cannot find package '@prettier/plugin-php' imported from /home/abc/noop.js
however, this directory ~/.node_modules/lib/node_modules/@prettier/plugin-php
is not empty
from plugin-php.
I figured out this issue is related to prettier itself.
from plugin-php.
Related Issues (20)
- Backward compatibility for CommonJS
- `npx prettier . --check` doesn't check php files HOT 3
- Class and method braces with no body split onto multiple lines HOT 2
- Brackets vanish in Recursive IIFE
- Attributes removed since 0.19.2 if method argument has an attribute with attributes in them and arrays and some new lines
- Comments in attributes (e.g. for an array item) are weirdly moved to somewhere completely else HOT 2
- Some comment positions inside attributes can result in prettier failing with an exception
- Docs: specify if prettier follow psr-12 or something else HOT 2
- Syntax error when attributes are defined to enum cases
- Class Constants Types PHP 8.3 support HOT 6
- [bug] singleQuote option from API call does not work on latest release
- INC file extension not recognized
- Issue HOT 1
- Adjobscc.io
- Allow attributes to be placed above constructor properties HOT 1
- Invoked import/require callable removes necessary parentheses
- Nguyenthaocc727
- parentheses bug. HOT 2
- does not respect prettier printWidth in overrides since v0.22.0 HOT 2
- Removes brackets from require_once which changes the evaluation of the expression (Laravel 11 index.php)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from plugin-php.