Skip to content

Commit

Permalink
feat(schema): add validation, autocomplete and getDef commands.
Browse files Browse the repository at this point in the history
  • Loading branch information
Mayank Agarwal committed Dec 1, 2016
1 parent 668d924 commit e226548
Show file tree
Hide file tree
Showing 66 changed files with 10,158 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
presets: [
["playlyfe", { react: false, asyncAwait: true }],
],
}
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# http://editorconfig.org
root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false

[Makefile]
indent_style = tab
32 changes: 32 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
/* @flow */
module.exports = {
extends: [
'eslint-config-airbnb-base/rules/best-practices',
'eslint-config-airbnb-base/rules/errors',
'eslint-config-airbnb-base/rules/node',
'eslint-config-airbnb-base/rules/style',
'eslint-config-airbnb-base/rules/variables',
'eslint-config-airbnb-base/rules/es6',
].map(require.resolve),

parser: require.resolve('babel-eslint'),

globals: {
describe: false,
beforeEach: false,
jest: false,
it: false,
expect: false,
test: false,

// flow
$Exact: false,
$Keys: false,
},

rules: {
'no-param-reassign': ['error', { 'props': false }],
'no-underscore-dangle': 'off',
'global-require': 'off',
},
};
16 changes: 16 additions & 0 deletions .flowconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
[ignore]
.*/node_modules/config-chain/.*
.*/node_modules/findup/.*
.*/node_modules/npmconf/.*

[include]

[libs]

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

[version]
^0.36.0
5 changes: 5 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
node_modules
lib
coverage
npm-debug*
yarn*
27 changes: 27 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
sudo: false
language: node_js
cache:
directories:
- node_modules
notifications:
email: false
node_js:
- '7'
- '6'
- '5'
before_install:
- npm i -g npm@^3.x
before_script:
- npm prune
script:
- npm run test
- npm run build
after_success:
- 'curl -Lo travis_after_all.py https://git.io/travis_after_all'
- python travis_after_all.py
- export $(cat .to_export_back) &> /dev/null
- npm run report-coverage
- npm run semantic-release
branches:
except:
- /^v\d+\.\d+\.\d+$/
Loading

0 comments on commit e226548

Please sign in to comment.