Displaying 1 to 20 from 164 results

javascript - JavaScript Style Guide


Note: this guide assumes you are using Babel, and requires that you use babel-preset-airbnb or the equivalent. It also assumes you are installing shims/polyfills in your app, with airbnb-browser-shims or the equivalent.1.1 Primitives: When you access a primitive type you work directly on its value.

babel-eslint - :tokyo_tower: ESLint using Babel as the parser.


babel-eslint allows you to lint ALL valid Babel code with the fantastic ESLint.You only need to use babel-eslint if you are using types (Flow) or experimental features not supported in ESLint itself yet. Otherwise try the default parser (you don't have to use it just because you are using Babel).

node-style-guide - A guide for styling your node.js / JavaScript code. Fork & adjust to your taste.


This is a guide for writing consistent and aesthetically pleasing node.js code. It is inspired by what is popular within the community, and flavored with some personal opinions.There is a .jshintrc which enforces these rules as closely as possible. You can either use that and adjust it, or use this script to make your own.




awesome-eslint - A list of awesome ESLint plugins, configs, etc.


A list of awesome ESLint configs, plugins, etc.If you want to contribute, please read the contribution guidelines.

lint-staged - 🚫💩 — Run linters on git staged files


Linting makes more sense when running before committing your code. By doing that you can ensure no errors are going into repository and enforce code style. But running a lint process on a whole project is slow and linting results can be irrelevant. Ultimately you only want to lint files that will be committed. This project contains a script that will run arbitrary npm and shell tasks with a list of staged files as an argument, filtered by a specified glob pattern.


js-stack-from-scratch - 🛠️⚡ Step-by-step tutorial to build a modern JavaScript stack.


Welcome to my modern JavaScript stack tutorial: JavaScript Stack from Scratch. This is a straight-to-the-point guide to assembling a JavaScript stack. It requires some general programming knowledge, and JavaScript basics. It focuses on wiring tools together and giving you the simplest possible example for each tool. You can see this tutorial as a way to write your own boilerplate from scratch. Since the goal of this tutorial is to assemble various tools, I do not go into details about how these tools work individually. Refer to their documentation or find other tutorials if you want to acquire deeper knowledge in them.

budgeting-sample-app-webpack2 - Budgeting - React + Redux + Webpack 2 (tree shaking) Sample App


Production-ready React + Webpack architecture implemented on consumer web apps of some of the most successful enterprises in the world. Perceived performance and development experience are key factors in this setup. You can use this code base for learning or to scaffold your mission-critical project. See live demo.

eslint-plugin-flowtype - Flow type linting rules for ESLint.


Flow type linting rules for ESLint. This plugin exports a recommended configuration that enforces Flow type good practices.

eslint-config-cleanjs - An eslint config which reduces JS to a pure functional language


This is an ESLint configuration which aims to restrict you to a subset of JavaScript which would be as close to an idealised pure functional language as possible. The idea is to see if it's possible to banish all the Bad Parts (well, except for the single numeric type being IEEE 754 floating point) and leave a language without the design flaws which have plagued JS from the start, and which aren't easy to design out of the language without becoming a subset of itself. Please note that this rule set is meant for use only with ES6 or higher (and the ES7 object rest spread proposal helps a lot).

isomorphic-flux-boilerplate - ES7 Isomorphic Flux/ReactJS Boilerplate


A wonderfull boilerplate for Flux/ReactJS universal applications, running on koajs. Koa will be our server for the server side rendering, we use alt for our Flux architecture and react-router for routing in our app.

eslint-config-prettier - Turns off all rules that are unnecessary or might conflict with Prettier.


Turns off all rules that are unnecessary or might conflict with Prettier. This lets you use you favorite shareable config without letting its stylistic choices get in the way when using Prettier.

prettier-eslint - Code :arrow_right: prettier :arrow_right: eslint --fix :arrow_right: Formatted Code :sparkles:


The fix feature of eslint is pretty great and can auto-format/fix much of your code according to your ESLint config. prettier is a more powerful automatic formatter. One of the nice things about prettier is how opinionated it is. Unfortunately it's not opinionated enough and/or some opinions differ from my own. So after prettier formats the code, I start getting linting errors. This formats your code via prettier, and then passes the result of that to eslint --fix. This way you can get the benefits of prettier's superior formatting capabilities, but also benefit from the configuration capabilities of eslint.

eslint-plugin-security - ESLint rules for Node Security


This project will help identify potential security hotspots, but finds a lot of false positives which need triage by a human.Locates potentially unsafe regular expressions, which may take a very long time to run, blocking the event loop.

eslint-plugin-angular - ESLint plugin for AngularJS applications


ESLint rules for your angular project with checks for best-practices, conventions or potential errors.This repository will give access to new rules for the ESLint tool. You should use it only if you are developing an AngularJS application.