Comments (8)
prettier-standard doesn't fix linting errors by default (only formatting ones). I guess I could introduce prettier-standard eslint
command so you can do it manually if really needed
from prettier-standard.
On the other hand prettier-standard is used for auto-formatting (e.g. when saving files) without linting. I think it would break many setups if I enabled linting by default because it would cause formatting to fail even if single linting error is present. Maybe just a message at the end that you can use --lint
would be enough?
from prettier-standard.
Hi, Sorry for asking this unrelated question but I'm stuck on this for a while and can't find a way for this.
Can you please guide me how can I enable prettier-standard for auto-formatting when saving files in VS Code. Any help would be highly appreciated
from prettier-standard.
I think it makes sense, still some people seem surprised that it can lint things
from prettier-standard.
just a message at the end that you can use
--lint
would be enough?
+1, yes
from prettier-standard.
Hey @sheerun, thanks for the formatter! On the topic of linting, I noticed that we are not able to fix fixable rules picked up by the --lint flag by using prettier-standard --fix
, and attempting to use eslint . --fix
results in missing plugin errors. Is there a different syntax for fixing lint errors? Otherwise, we'd need to install all of the plugins that were already installed by this package.
from prettier-standard.
Supporting the combo prettierx
+ eslint --fix
would be amazing (like https://github.com/prettier/prettier-eslint but with SublimeText support)
from prettier-standard.
prettier-standard doesn't fix linting errors by default (only formatting ones). I guess I could introduce
prettier-standard eslint
command so you can do it manually if really needed
+1
from prettier-standard.
Related Issues (20)
- Issue with the parser argument HOT 3
- Extra semi-colon added before destructuring assignment HOT 3
- not catching no-implicit-any HOT 22
- Can't resolve typescript type HOT 1
- Errors while linting TypeScript HOT 12
- ternary expression formatting raises an error in standard HOT 2
- Included packages? HOT 2
- there is a format question in typescript file HOT 1
- Allow overriding `parser` option in `.eslintrc`
- Error: "prettier/@typescript-eslint" has been merged into "prettier" in eslint-config-prettier 8.0.0 HOT 2
- Feature Request: loglevel output control
- Stuck saving with 'Format On Save' enabled HOT 1
- Error: You must provide patterns to match outside of git repository HOT 2
- is it possible upgrade to eslint 7?
- How do I send a custom CLI option to eslint?
- Dependency deprecation warning in Node 16+
- Security Vulnerabilities after including prettier standard
- Where I have to put .prettierrc for customization?
- This project is abandoned HOT 3
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 prettier-standard.