GithubHelp home page GithubHelp logo

rice-hiroko / linter-flowtype Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ricehiroko/linter-flowtype

0.0 1.0 1.0 20 KB

Lightweight flow linting, autocomplete, outline, and hyperclick for Atom

Home Page: https://atom.io/packages/linter-flowtype

License: Other

JavaScript 99.87% CSS 0.13%

linter-flowtype's Introduction

linter-flowtype

Lightweight Flow integration for Atom. The package provides linting, autocomplete suggestions, outline support, and jump-to-declaration.

screenshot

Installation

Either search for linter-flowtype in the editor UI or install via apm:

apm install linter-flowtype

Features

Settings

Settings can be configured either in the Preferences or by editing ~/.atom/config.cson:

'linter-flowtype':
  lintOnChange: true
  onlyLintIfConfigExists: true
  showUncovered: false
  executablePath: ''
  useLocalFlowBin: true
  hyperclickPriority: 0
  • lintOnChange - if disabled, linting will only happen when a file is saved
  • onlyLintIfConfigExists - only lint if a .flowconfig file exists
  • showUncovered - if enabled, display uncovered lines
  • executablePath - if set, this path will be used to run flow (otherwise it will use flow from the PATH or from node_modules)
  • useLocalFlowBin - if true, it will look for flow installed in the local node_modules hyperclickPriority - the priority of Hyperclick suggestions

Alternatives

The motivation for the creation of this package was to support as-you-type linting in addition to other integrations like using flow from node_modules, autocomplete, and outline support. It began as a fork of flow-ide, incorporating features from many other packages.

Alternatives to this package include:

  • Nuclide - a fully-featured IDE, but comes with many unnecessary features if you only need a lightweight Flow integration (support for other languages, a replacement UI, etc.)
  • ide-flow - this package started as a fork of ide-flow, adding linting as-you-type, outline support, and additional configuration options
  • linter-flow - this package supports as-you-type linting, but is missing all other features and doesn't display the full flow error message details on error
  • autocomplete-flow - only adds autocomplete support

License and Credits

This project is MIT licensed - see LICENSE.

This project makes use of code from several other open-source Atom Flow packages, primarily flow-ide and linter-flow. Original copyright notices appear in LICENSE.

linter-flowtype's People

Contributors

jacobwgillespie avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.