Skip to content

Commit aade0d6

Browse files
committed
Verion 1.3.0
1 parent 9742a56 commit aade0d6

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

50 files changed

+7693
-672
lines changed

.babelrc

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,20 @@
11
{
2-
"stage": 0,
3-
"optional": [],
4-
"env": {
5-
"development": {
6-
"plugins": ["react-transform"],
7-
"extra": {
8-
"react-transform": {
9-
"transforms": [
10-
{
11-
"transform": "react-transform-hmr",
12-
"imports": ["react"],
13-
"locals": ["module"]
14-
}
2+
"presets": [
3+
[
4+
"env",
5+
{
6+
"targets": {
7+
"browsers": [
8+
"last 2 versions"
159
]
1610
}
1711
}
18-
}
19-
}
12+
],
13+
"react"
14+
],
15+
"plugins": [
16+
"add-module-exports",
17+
"transform-class-properties",
18+
"transform-object-rest-spread"
19+
]
2020
}

.editorconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@ root = true
33

44
[*]
55
indent_style = space
6-
indent_size = 2
76
end_of_line = lf
87
charset = utf-8
98
trim_trailing_whitespace = true

.eslintignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
node_modules/*
2+
dist/*
3+
example/dist/*
4+
lib/*

.eslintrc

Lines changed: 15 additions & 70 deletions
Original file line numberDiff line numberDiff line change
@@ -1,80 +1,25 @@
11
{
22
"parser": "babel-eslint",
3+
"extends": "airbnb",
34
"env": {
45
"browser": true,
56
"node": true
67
},
7-
"ecmaFeatures": {
8-
"arrowFunctions": true,
9-
"blockBindings": true,
10-
"classes": true,
11-
"defaultParams": true,
12-
"destructuring": true,
13-
"forOf": true,
14-
"modules": true,
15-
"objectLiteralComputedProperties": true,
16-
"objectLiteralShorthandMethods": true,
17-
"objectLiteralShorthandProperties": true,
18-
"spread": true,
19-
"superInFunctions": true,
20-
"templateStrings": true,
21-
"unicodeCodePointEscapes": true,
22-
"jsx": true
23-
},
248
"rules": {
25-
"strict": 0,
26-
"curly": 0,
27-
"quotes": [2, "single", "avoid-escape"],
28-
"semi": 2,
29-
"no-underscore-dangle": 0,
30-
"no-unused-vars": 2,
31-
"camelcase": [2, {"properties": "never"}],
32-
"new-cap": 0,
33-
"accessor-pairs": 0,
34-
"brace-style": [2, "1tbs"],
35-
"consistent-return": 2,
36-
"dot-location": [2, "property"],
37-
"dot-notation": 2,
38-
"eol-last": 2,
39-
"indent": [2, 2, {"SwitchCase": 1}],
40-
"no-bitwise": 0,
41-
"no-multi-spaces": 2,
42-
"no-shadow": 2,
43-
"no-unused-expressions": 2,
44-
"space-after-keywords": 2,
45-
"space-before-blocks": 2,
46-
"jsx-quotes": [1, "prefer-double"],
47-
"react/display-name": 0,
48-
"react/jsx-boolean-value": [2, "always"],
49-
"react/jsx-no-undef": 2,
50-
"react/jsx-sort-props": 0,
51-
"react/jsx-sort-prop-types": 0,
52-
"react/jsx-uses-react": 2,
53-
"react/jsx-uses-vars": 2,
54-
"react/no-did-mount-set-state": 2,
55-
"react/no-did-update-set-state": 2,
56-
"react/no-multi-comp": [2, {"ignoreStateless": true}],
57-
"react/no-unknown-property": 2,
58-
"react/prop-types": 1,
59-
"react/react-in-jsx-scope": 2,
60-
"react/self-closing-comp": 2,
61-
"react/sort-comp": 0,
62-
"react/wrap-multilines": [2, {"declaration": false, "assignment": false}]
9+
"comma-dangle": "off",
10+
"global-require": "off",
11+
"import/no-extraneous-dependencies": "off",
12+
"import/no-unresolved": "off",
13+
"import/extensions": "off",
14+
"react/jsx-filename-extension": "off",
15+
"react/prefer-stateless-function": ["error", {"ignorePureComponents": true}],
16+
"react/jsx-tag-spacing": "off",
17+
"react/forbid-prop-types": "off",
18+
"react/no-array-index-key": "off",
19+
"jsx-a11y/no-static-element-interactions": "off"
6320
},
6421
"globals": {
65-
"inject": false,
66-
"module": false,
67-
"describe": false,
68-
"it": false,
69-
"before": false,
70-
"beforeEach": false,
71-
"after": false,
72-
"afterEach": false,
73-
"expect": false,
74-
"window": false,
75-
"document": false
76-
},
77-
"plugins": [
78-
"react"
79-
]
22+
"jQuery": false,
23+
"$": false
24+
}
8025
}

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,2 @@
1-
.idea
21
node_modules
3-
bower_components
42
example/dist

bower.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-progress-bar-plus",
3-
"version": "1.2.0",
3+
"version": "1.3.0",
44
"description": "Progress bar component for ReactJS.",
55
"main": ["dist/progress-bar.css", "dist/react-progress-bar-plus.js"],
66
"keywords": [

dist/progress-bar.css

Lines changed: 0 additions & 1 deletion
This file was deleted.

dist/react-progress-bar-plus.css

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/react-progress-bar-plus.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

example/app/app.js

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)