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

  •        15

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

https://github.com/gajus/eslint-plugin-flowtype

Dependencies:

lodash : ^4.15.0

Tags
Implementation
License
Platform

   




Related Projects

eslint-plugin-flowtype-errors - Run Flow as an ESLint plugin

  •    Javascript

This guide assumes that you have installed eslint, babel, babel-plugin-transform-flow-strip-types and configured flow. Check out the from-scratch guide for the full guide on getting started. Add this line to the 'rules' section of your .eslintrc to report flow errors.

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

  •    Javascript

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

typescript-vs-flowtype - Differences between Flowtype and TypeScript -- syntax and usability

  •    

Both TypeScript and Flow are very similar products and they share most of their syntax with some important differences. In this document I've tried to compile the list of differences and similarities between Flowtype and TypeScript -- specifically the syntax, usage and usability. This document might be incomplete and/or contain mistakes and was last updated to describe TypeScript 3.0 and Flow 0.79.1.

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

  •    Javascript

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.


linter-eslint - ESLint plugin for Atom Linter

  •    Javascript

This linter plugin for Linter provides an interface to eslint. It will be used with files that have the "JavaScript" syntax. linter-eslint will look for a version of eslint local to your project and use it if it's available. If none is found it will fall back to the version it ships with.

babel-plugin-flow-react-proptypes - A babel plugin to generate React PropTypes definitions from Flow type declarations

  •    Javascript

A babel plugin to generate React PropTypes definitions from Flow type declarations. Starting in 14.0.0, we output ES6 import/export statements by default. The deadCode option (explained below) will cause it to use common.js modules instead.

eslint-plugin-prettier - ESLint plugin for prettier formatting

  •    Javascript

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

eslint-plugin-angular - ESLint plugin for AngularJS applications

  •    Javascript

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-plugin-react - React specific linting rules for ESLint

  •    Javascript

Install ESLint either locally or globally. If you installed ESLint globally, you have to install React plugin globally too. Otherwise, install it locally.

eslint-plugin-immutable - ESLint plugin to disable all mutation in JavaScript.

  •    Javascript

This is an ESLint plugin to disable all mutation in JavaScript. Think this is a bit too restrictive? Well if you're using Redux and React, there isn't much reason for your code to be mutating anything. Redux maintains a mutable pointer to your immutable application state, and React manages your DOM state. Your components should be stateless functions, translating data into Virtual DOM objects whenever Redux emits a new state. These ESLint rules explicitly prohibit mutation, effectively forcing you to write code very similar to Elm in React. There's no reason to use let in a Redux/React application, because all your state is managed by either Redux or React. Use const instead, and avoid state bugs altogether.

eslint-plugin-promise - Enforce best practices for JavaScript promises

  •    Javascript

Enforce best practices for JavaScript promises. Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-promise globally.

eslint-plugin-import - ESLint plugin with rules that help validate proper imports.

  •    Javascript

This plugin intends to support linting of ES2015+ (ES6+) import/export syntax, and prevent issues with misspelling of file paths and import names. All the goodness that the ES2015+ static module syntax intends to provide, marked up in your editor. IF YOU ARE USING THIS WITH SUBLIME: see the bottom section for important info.

eslint-plugin-node - Additional ESLint's rules for Node.js

  •    Javascript

Note: It recommends a use of the "engines" field of package.json. The "engines" field is used by node/no-unsupported-features/* rules. eslint-plugin-node follows semantic versioning and ESLint's Semantic Versioning Policy.

flow-remove-types - 🚿 Removes Flow type annotations from JavaScript files with speed and simplicity

  •    Javascript

Turn your JavaScript with Flow type annotations into standard JavaScript in an instant with no configuration and minimal setup. Flow provides static type checking to JavaScript which can both help find and detect bugs long before code is deployed and can make code easier to read and more self-documenting. The Flow tool itself only reads and analyzes code. Running code with Flow type annotations requires first removing the annotations which are non-standard JavaScript. Typically this is done via adding a plugin to your Babel configuration, however Babel may be overkill if you're only targetting modern versions of Node.js or just not using the modern ES2015 features that may not be in every browser.

flow-remove-types - 🚿 Removes Flow type annotations from JavaScript files with speed and simplicity

  •    Javascript

Turn your JavaScript with Flow type annotations into standard JavaScript in an instant with no configuration and minimal setup. Flow provides static type checking to JavaScript which can both help find and detect bugs long before code is deployed and can make code easier to read and more self-documenting. The Flow tool itself only reads and analyzes code. Running code with Flow type annotations requires first removing the annotations which are non-standard JavaScript. Typically this is done via adding a plugin to your Babel configuration, however Babel may be overkill if you're only targetting modern versions of Node.js or just not using the modern ES2015 features that may not be in every browser.

eslint-plugin-jsx-a11y - Static AST checker for a11y rules on JSX elements.

  •    Javascript

Static AST checker for accessibility rules on JSX elements. Ryan Florence built out this awesome runtime-analysis tool called react-a11y. It is super useful. However, since you're probably already using linting in your project, this plugin comes for free and closer to the actual development process. Pairing this plugin with an editor lint plugin, you can bake accessibility standards into your application in real-time.