Skip to content

Commit

Permalink
Version 1.4.0
Browse files Browse the repository at this point in the history
  • Loading branch information
minhtranite committed Jun 15, 2017
1 parent 68773d5 commit 2e46ddd
Show file tree
Hide file tree
Showing 72 changed files with 7,996 additions and 1,115 deletions.
30 changes: 15 additions & 15 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,20 +1,20 @@
{
"stage": 0,
"optional": [],
"env": {
"development": {
"plugins": ["react-transform"],
"extra": {
"react-transform": {
"transforms": [
{
"transform": "react-transform-hmr",
"imports": ["react"],
"locals": ["module"]
}
"presets": [
[
"env",
{
"targets": {
"browsers": [
"last 2 versions"
]
}
}
}
}
],
"react"
],
"plugins": [
"add-module-exports",
"transform-class-properties",
"transform-object-rest-spread"
]
}
3 changes: 0 additions & 3 deletions .bowerrc

This file was deleted.

1 change: 0 additions & 1 deletion .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ root = true

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
Expand Down
4 changes: 4 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
node_modules/*
dist/*
example/dist/*
lib/*
87 changes: 17 additions & 70 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,80 +1,27 @@
{
"parser": "babel-eslint",
"extends": "airbnb",
"env": {
"browser": true,
"node": true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParams": true,
"destructuring": true,
"forOf": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"jsx": true
},
"rules": {
"strict": 0,
"curly": 0,
"quotes": [2, "single", "avoid-escape"],
"semi": 2,
"no-underscore-dangle": 0,
"no-unused-vars": 2,
"camelcase": [2, {"properties": "never"}],
"new-cap": 0,
"accessor-pairs": 0,
"brace-style": [2, "1tbs"],
"consistent-return": 2,
"dot-location": [2, "property"],
"dot-notation": 2,
"eol-last": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"no-bitwise": 0,
"no-multi-spaces": 2,
"no-shadow": 2,
"no-unused-expressions": 2,
"space-after-keywords": 2,
"space-before-blocks": 2,
"jsx-quotes": [1, "prefer-double"],
"react/display-name": 0,
"react/jsx-boolean-value": [2, "always"],
"react/jsx-no-undef": 2,
"react/jsx-sort-props": 0,
"react/jsx-sort-prop-types": 0,
"react/jsx-uses-react": 2,
"react/jsx-uses-vars": 2,
"react/no-did-mount-set-state": 2,
"react/no-did-update-set-state": 2,
"react/no-multi-comp": [2, {"ignoreStateless": true}],
"react/no-unknown-property": 2,
"react/prop-types": 1,
"react/react-in-jsx-scope": 2,
"react/self-closing-comp": 2,
"react/sort-comp": 0,
"react/wrap-multilines": [2, {"declaration": false, "assignment": false}]
"comma-dangle": "off",
"global-require": "off",
"import/no-extraneous-dependencies": "off",
"import/no-unresolved": "off",
"import/extensions": "off",
"react/jsx-filename-extension": "off",
"react/prefer-stateless-function": ["error", {"ignorePureComponents": true}],
"react/jsx-tag-spacing": "off",
"react/forbid-prop-types": "off",
"react/no-array-index-key": "off",
"jsx-a11y/no-static-element-interactions": "off",
"no-alert": "off",
"no-bitwise": "off"
},
"globals": {
"inject": false,
"module": false,
"describe": false,
"it": false,
"before": false,
"beforeEach": false,
"after": false,
"afterEach": false,
"expect": false,
"window": false,
"document": false
},
"plugins": [
"react"
]
"jQuery": false,
"$": false
}
}
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
.idea
node_modules
bower_components
example/dist
23 changes: 0 additions & 23 deletions bower.json

This file was deleted.

1 change: 0 additions & 1 deletion dist/notifications.css

This file was deleted.

1 change: 1 addition & 0 deletions dist/react-notifications.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2e46ddd

Please sign in to comment.