I picked up standard[1] a while back for this reason, I don't want to have to think about it. It works fine, I have no complaints (took me a while to get used to not using semi-colons but now I prefer it) Same reason I use `cargo fmt` as well. [1] https://standardjs.com/. - Source: Hacker News / about 2 months ago
A Thin JavaScript Document Storage with Middleware Stack. - Source: dev.to / 7 months ago
For example, if you use https://standardjs.com/ - it will error on your second code snippet and if you ask it for an autofix - it will transfer the minus sign to the first line. Source: about 1 year ago
In comparison, JavaScript doesn't have a strict coding standard, although it does have widely accepted code style guides like the Airbnb JavaScript Style Guide and the JavaScript Standard Style. These guides provide recommendations for code formatting and naming conventions, but they are not as strictly enforced as the Java coding standard. - Source: dev.to / about 1 year ago
Welcome to django-allauth! Integrated set of Django applications addressing authentication Registration, account management as well as 3rd party (social) account Authentication. Home page Http://www.intenct.nl/projects/django-allauth/ Source code Http://github.com/pennersr/django-allauth Mailing... - Source: dev.to / over 1 year ago
Why those freaks at "JavaScript Standard Style" always wearing the blue sleeveless tees? Shoulda got green, orange, or red - like a real coder. Source: over 1 year ago
One of the most popular style guide/formatter used now days, StandardJS, doesn't use semicolons! It goes further, it prohibits the use of unnecessary semicolons! Source: over 1 year ago
Formatters are tools that can fix any style inconsistencies it finds automatically. For this purpose, tools like Prettier or StandardJS can do the job. There are a couple of options to configure it to best match your criteria, and it can be integrated with the most popular editors and IDEs. - Source: dev.to / almost 2 years ago
Something similar has been done with Standardjs, which is a nice package with predefined ESlint rules and some CLI wrappers. Source: almost 2 years ago
I use this one for javascript. Good thing is that you can force yourself and the whole team to follow the same writing style with one short command. Source: almost 2 years ago
JavaScript Standard style is one example of a convention that doesn't use semicolons. But the main point is that it's not just a convention, it's a set of tools that automatically formats and fixes your code - you never have to worry about it and you don't have to do any work. Source: almost 2 years ago
Standard JS is a JavaScript linter, code styler, and formatter. It enforces a zero-configuration approach rather than the custom configuration used in ESLint through an .eslintrc.json file. This is exemplified by the fact that users must prioritize community conventions over personal style. - Source: dev.to / almost 2 years ago
P.S. Yeah you definitely want a linter for JS - it's too easy to make mistakes that JS will try, and fail, to "fix" for you at runtime. But I think that airbnb's linter rules are way overkill for most things, at least for solo work. I'm personally partial to standard style for its simplicity and effectiveness at keeping you away from some of those weird gotchas above. Source: about 2 years ago
Have you not heard of Standard JS? :D So much cleaner then airbnb. Source: about 2 years ago
There are a large number of ready-made configurations. Several of them are the main accepted standards in the industry, for example, Airbnb JavaScript Style Guide or JavaScript Standard Style. But they will be redundant for our training project. Included with ESLint standard config with minimal settings is which we will use. - Source: dev.to / over 2 years ago
Recomended reading: Https://github.com/rust-dev-tools/fmt-rfcs/blob/master/guide/guide.md Black style for Python https://github.com/psf/black StandardJS https://standardjs.com/. Source: over 2 years ago
You don't. And you could look into the "standardjs" linter and formater. You can also find details about semicolons in javascript from their website (https://standardjs.com/). Source: over 2 years ago
Yea, leaving out semis is just asking for trouble tbh... it's a bit unfortunate that "standard js style" (= node.js cool kid style) leaves out semicolons (of course, there's a variant that has them). Source: over 2 years ago
I resonate most with your second paragraph though, it makes sense that if someone is coding mostly in a lower language, then gets yelled at by a linter that he keeps using semicolons, that could be frustrating and come across as a pointless addition. I think since javascript has been my primary language for a while that this change worked for me (I use standardJS). Source: over 2 years ago
Once you know how to create an ESLint config file, you need to configure rules. Even if you're using a preset config, like Standard, you may find yourself wanting to overwrite default rules that don't make sense for your application. This tutorial shows you how to configure ESLint rules, from basic enable/disable to sophisticated config options. - Source: dev.to / over 2 years ago
TL;DR: Use ESLint to gain awareness about separation concerns. Prettier or Standardjs can automatically resolve these issues. - Source: dev.to / over 2 years ago
Do you know an article comparing Standard JS to other products?
Suggest a link to a post with product alternatives.
This is an informative page about Standard JS. You can review and discuss the product here. The primary details have not been verified within the last quarter, and they might be outdated. If you think we are missing something, please use the means on this page to comment or suggest changes. All reviews and comments are highly encouranged and appreciated as they help everyone in the community to make an informed choice. Please always be kind and objective when evaluating a product and sharing your opinion.