Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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