esprint - Fast eslint runner

  •        3

esprint (pronounced E-S-sprint) speeds up eslint by running the linting engine across multiple threads. esprint sets up a server daemon to cache the lint status of each file in memory. It uses a watcher to determine when files change, to only lint files as necessary. It also has a CI mode where it does not set up a daemon and just lints in parallel. esprint will find the root of your project automatically and lint the whole project. In default mode, esprint will start a background server to watch source files and cache lint results in memory.

https://github.com/pinterest/esprint#readme

Tags
Implementation
License
Platform

   




Related Projects

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.


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.

eslint-plugin-graphql - :vertical_traffic_light: Check your GraphQL query strings against a schema.


An ESLint plugin that checks tagged query strings inside JavaScript, or queries inside .graphql files, against a GraphQL schema.If you want to lint your GraphQL schema, rather than queries, check out cjoudrey/graphql-schema-linter.

JSXHint - Wrapper around JSHint for linting JSX files


JSXHint is, and always was, a bad hack to make JSX lintable in the early days of React. It will always be inferior to proper linters like ESLint because it is not able to lint JSX or ES6 syntax, it instead compiles to ES5 then lints. You may get weird linter errors, especially with more involved transforms. Don't use JSXHint anymore if you can switch to ESLint.

reactpack - :package: build your react apps with one command and one `npm i`.


One command to build your React frontend.reactpack will look for an eslint config (.eslintrc, .eslintrc.json ...) and if one is present it will use that one. Make sure that you have all the dependencies installed (plugins etc) to run your linter.

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.

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

prettier-eslint-cli - CLI for prettier-eslint


You have a bunch of files that you want to format using prettier-eslint. But prettier-eslint can only operate on strings. This is a CLI that allows you to use prettier-eslint on one or multiple files. prettier-eslint-cli forwards on the filePath and other relevant options to prettier-eslint which identifies the applicable ESLint config for each file and uses that to determine the options for prettier and eslint --fix.

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

eslint-plugin-react-native - React Native plugin for ESLint


React Native specific linting rules for ESLint. This repository is structured like (and contains code from) the excellent eslint-plugin-react. Install ESLint either locally or globally.

eslint-plugin-prettier - ESLint plugin for prettier formatting


Runs Prettier as an ESLint rule and reports differences as individual ESLint issues. ./node_modules/.bin/eslint --format codeframe pkg/commons-atom/ActiveEditorRegistry.js (code from nuclide).

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.

linter - A Base Linter with Cow Powers http://steelbrain.me/linter/


Linter is a base linter provider for the hackable Atom Editor. Additionally, you need to install a specific linter for your language. You will find a full list on atomlinter.github.io.It provides a top-level API to its consumer so that they can visualize errors and other types of messages with ease.