Displaying 1 to 20 from 117 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.



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-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.

eslint_d.js - Makes eslint the fastest linter on the planet


Makes eslint the fastest linter on the planet.Yes, it's actually super fast. But the node.js startup time and loading all the required modules slows down linting times for a single file to ~700 milliseconds. eslint_d reduces this overhead by running a server in the background. It brings the linting time down to ~160 milliseconds. If you want to lint from within your editor whenever you save a file, eslint_d is for you.

eslint-plugin-babel - An ESlint rule plugin companion to babel-eslint


An eslint plugin companion to babel-eslint. babel-eslint does a great job at adapting eslint for use with Babel, but it can't change the built in rules to support experimental features. eslint-plugin-babel re-implements problematic rules so they do not give false positives or negatives.Finally enable all the rules you would like to use (remember to disable the original ones as well!).

polyjuice - A utility to convert JSHint and JSCS files into ESLint files and vice-versa


Polyjuice is a utility that converts JSHint and JSCS files into ESLint files and the other way around. When using polyjuice.from.eslint an object with keys jscs and jshint is returned.