Skip to content

Flow not linting without top comment #70

Open
@redeemefy

Description

@redeemefy

Expected Behavior

To have errors without adding // @flow at the top of the file.

screen shot 2019-01-19 at 5 09 57 pm

Actual Behavior

screen shot 2019-01-19 at 5 10 44 pm

Based on Flow docs, if I set all=true I should have linting on all files.

.flowconfig

[ignore]
<PROJECT_ROOT>/.je-project-settings/.*

[include]

[libs]

[lints]

[options]
all=true

[strict]

I'm just trying out the package for sublime and create an empty JS project utilizing the package by Project > Create JavaScript Project

Sublime Text console logs

Screenshots

Steps to Reproduce the Problem

  1. Create an empty project utilizing the package
  2. Create a src folder in root with two files inside index.html and app.js
  3. Import app.js in index.html
  4. Write the code I have in the screenshots

Specifications

  • Sublime Text 3 build: 3176
  • OS: Mojave 10.14.2
  • JavaScript Enhancements version: 0.16.20

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions