JavaScriptEnhancements icon indicating copy to clipboard operation
JavaScriptEnhancements copied to clipboard

Flow not linting without top comment

Open redeemefy opened this issue 5 years ago • 0 comments

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

redeemefy avatar Jan 19 '19 23:01 redeemefy