Standard
🌟 JavaScript Style Guide, with linter & automatic code fixer (by standard)
eslint-config-xo
ESLint shareable config for XO (by xojs)
Standard | eslint-config-xo | |
---|---|---|
76 | 5 | |
29,199 | 272 | |
0.2% | 1.5% | |
5.1 | 6.7 | |
4 months ago | 3 months ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Standard
Posts with mentions or reviews of Standard.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-05-05.
-
Mastering Code Quality: Setting Up ESLint with Standard JS in TypeScript Projects
Sorry, I've gone too far. I'm not here to persuade you to use Standard JS. My intention is to provide information and guidance on configuring JavaScript Standard Style for your team, should you agree with me or have other reasons to choose it.
-
Why is Prettier rock solid?
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/
-
Eslint & Prettier Configuration React Native(Airbnb Style)
# question 1: ? How would you like to use ESLint? … To check syntax only To check syntax and find problems ❯ To check syntax, find problems, and enforce code style # question 2: ? What type of modules does your project use? … ❯ JavaScript modules (import/export) CommonJS (require/exports) None of these # question 3: ? Which framework does your project use? … ❯ React Vue.js None of these # question 4 (select "No", because we won't add TypeScript support for this project): ? Does your project use TypeScript? › No / Yes # question 5: ? Where does your code run? … Browser ✔ Node # question 6: ? How would you like to define a style for your project? … ❯ Use a popular style guide Answer questions about your style Inspect your JavaScript file(s) # question 7 (we'll rely on Airbnb's JavaScript style guide here): ? Which style guide do you want to follow? … ❯ Airbnb: https://github.com/airbnb/javascript Standard: https://github.com/standard/standard Google: https://github.com/google/eslint-config-google # question 8: ? What format do you want your config file to be in? … JavaScript YAML ❯ JSON # the final prompt here is where eslint will ask you if you want to install all the necessary dependencies. Select "Yes" and hit enter: Checking peerDependencies of eslint-config-airbnb@latest The config that you have selected requires the following dependencies: eslint-plugin-react@^7.21.5 eslint-config-airbnb@latest eslint@^5.16.0 || ^6.8.0 || ^7.2.0 eslint-plugin-import@^2.22.1 eslint-plugin-jsx-a11y@^6.4.1 eslint-plugin-react-hooks@^4 || ^3 || ^2.3.0 || ^1.7.0 ? Would you like to install them now with npm? › No / Yes
- Prepare your Meteor.js project for the big 3.0 release!
-
My prepared repositories for hacktoberfest 23 - any contributions are welcomed 🚀
A Thin JavaScript Document Storage with Middleware Stack
- VanillaDB: A Tiny Browser-Based Database
- My opinionated JavaScript package template repository - zero config, start immediately
- React Proto - React TypeScript Boilerplate (Redux, RTK Query, SSR, SWR, Preact inside and much more)
-
<3 Deno
https://github.com/standard/standard/issues/384
-
Dumb question
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.
eslint-config-xo
Posts with mentions or reviews of eslint-config-xo.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2025-01-12.
-
Just use this Next.js Eslint Configuration
XO. This feels like the Black of Typescript linting. XO has styles for everything and is very opinionated. This can be nice, because it takes a lot of code style decisions off of your plate. But beware it can be cumbersome to implement in the middle of a project because it will require extensive reformatting. In lieu of XO, I found Unicorn opinionated enough and more immediately useful.
-
Setting up ESLINT with TS/JS in your React project in 2023
Based on your requirements and environment, answer the questions accordingly. At least with eslint version 8.0.1, you are only presented with 2 style guides: standard and XO. Personally, I prefer the standard styling guide but at any give time, it is a personal choice and as such feel free to choose any from a bunch of available options. Once all dependencies are installed, ensure that you have the following packages added as devDependencies to your project:
-
Setup inicial de aplicações ReactJs
# 1 - Inicio da configuração do eslint yarn eslint --init # 2 - Escolha a opção "To check syntax, find problems, and enforce code style" How would you like to use ESLint? To check syntax only To check syntax and find problems ❯ To check syntax, find problems, and enforce code style # 3 - Escolha a opção "JavaScript modules (import/export)" What type of modules does your project use? ❯ JavaScript modules (import/export) CommonJS (require/exports) None of these # 4 - Escolha a opção "React" Which framework does your project use? ❯ React Vue.js None of these # 5 - Escolha a opção "Yes" Does your project use TypeScript? No ❯ Yes # 6 - Pressionando a barra de espaço, deixe selecionado somente a opção "Browser" Where does your code run? ✔ Browser Node # 7 - Escolha a opção "Use a popular style guide" How would you like to define a style for your project? … ❯ Use a popular style guide Answer questions about your style Inspect your JavaScript file(s) # 8 - Escolha a opção "Use a popular style guide" How would you like to define a style for your project? … ❯ Use a popular style guide Answer questions about your style Inspect your JavaScript file(s) # 9 - Escolha a opção "Airbnb" Which style guide do you want to follow? ❯ Airbnb: https://github.com/airbnb/javascript Standard: https://github.com/standard/standard Google: https://github.com/google/eslint-config-google XO: https://github.com/xojs/eslint-config-xo # 10 - Escolha a opção "JavaScript" What format do you want your config file to be in? … ❯ JavaScript YAML JSON # 11 - Escolha a opção "Yes" Would you like to install them now with npm? No ❯ Yes
-
Node.js Packages and Resources
XO - Enforce strict code style using the JavaScript happiness style.
- AluraFlix - Configurando padrão do código
What are some alternatives?
When comparing Standard and eslint-config-xo you can also consider the following projects:
XO - ❤️ JavaScript/TypeScript linter (ESLint wrapper) with great defaults
eslint-plugin-unicorn - More than 100 powerful ESLint rules
ESLint - Find and fix problems in your JavaScript code.
javascript - JavaScript Style Guide
prettier - Prettier is an opinionated code formatter.
eslint-config-google - ESLint shareable config for the Google JavaScript style guide
semistandard - :icecream: All the goodness of `standard/standard` with semicolons sprinkled on top.
esbuild-node-tsc - Build your Typescript Node.js projects using blazing fast esbuild
Visual Studio Code - Visual Studio Code
Standard vs XO
eslint-config-xo vs eslint-plugin-unicorn
Standard vs ESLint
eslint-config-xo vs javascript
Standard vs prettier
eslint-config-xo vs eslint-config-google
Standard vs semistandard
eslint-config-xo vs ESLint
Standard vs eslint-config-google
eslint-config-xo vs XO
Standard vs esbuild-node-tsc
eslint-config-xo vs Visual Studio Code