diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..00b0fbf18 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +root = true + +[*] +indent_style = space +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.js] +indent_size = 2 + +[*.vue] +indent_size = 2 + +[*.scss] +indent_size = 4 diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 000000000..8d1a11e8d --- /dev/null +++ b/.eslintignore @@ -0,0 +1,3 @@ +lib/ +dist/ +node_modules/ diff --git a/.eslintrc b/.eslintrc new file mode 100644 index 000000000..87b26dd49 --- /dev/null +++ b/.eslintrc @@ -0,0 +1,25 @@ +{ + "extends": "airbnb", + "parser": "babel-eslint", + "rules": { + "semi": 0, + "max-len": 0, + "react/prefer-stateless-function": 0, + "comma-dangle": 0, + "func-names": 0, + "prefer-const": 0, + "arrow-body-style": 0, + "react/sort-comp": 0, + "react/no-multi-comp": 0, + "react/prop-types": 0, + "react/prefer-es6-class": 0, + "react/jsx-closing-bracket-location": 0, + "react/jsx-no-bind": 0, + "no-param-reassign": 0, + "no-return-assign": 0, + "consistent-return": 0, + "no-unused-expressions": ["error", { "allowShortCircuit": true, "allowTernary": true }], + "no-use-before-define": ["error", { "functions": false }], + "no-underscore-dangle": 0 + } +} diff --git a/.gitignore b/.gitignore index 4db9f4538..5306c013b 100644 --- a/.gitignore +++ b/.gitignore @@ -2,6 +2,7 @@ .cache .DS_Store .idea +.vscode packages/**/lib lib/* !lib/index.js diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000..36a163fb8 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +registry=http://registry.npm.qima-inc.com diff --git a/packages/cell/README.md b/CHANGELOG.md similarity index 100% rename from packages/cell/README.md rename to CHANGELOG.md diff --git a/Makefile b/Makefile new file mode 100644 index 000000000..c43fcdff2 --- /dev/null +++ b/Makefile @@ -0,0 +1,13 @@ +usage = "\ +Usage: make