Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Add missing features in useLSP mode #295

Merged
merged 15 commits into from
Dec 19, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .babelrc

This file was deleted.

4 changes: 3 additions & 1 deletion .flowconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
[include]

[libs]
flow-libs

[options]
suppress_comment=.*\\$FlowFixMe.*
suppress_comment=.*\\$FlowIssue.*
suppress_comment=\\(.\\|\n\\)*\\$FlowDisableNextLine

[version]
^0.68.0
^0.89.0
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,10 @@
### Master

### 1.0.0

* Converts Flow LSP support to be default, and moves to using the flow-lsp module as the base:
- [@Mayank1791989](https://github.com/Mayank1791989) [#295](https://github.com/flowtype/flow-for-vscode/pull/295)

### 0.8.4

* A potential fix for killing flow processes
Expand Down
26 changes: 26 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
'use strict';

// NOTE: using babel.config.js instead of .babelrc to force
// babel to compile files inside lib/pkg/* using this config

module.exports = function(api) {
api.env();

return {
plugins: ['@babel/plugin-proposal-class-properties'],

presets: [
[
'@babel/preset-env',
{
targets: {
node: '6'
}
}
],
'@babel/preset-flow'
],

ignore: ['node_modules']
};
};
Loading