-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
22 changed files
with
14,148 additions
and
116 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
{ | ||
"presets": ["env", "react"], | ||
"plugins": ["transform-object-rest-spread"] | ||
"presets": [ | ||
"@babel/preset-react", | ||
"@babel/env", | ||
], | ||
"plugins": ["@babel/proposal-object-rest-spread"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"extends": [ | ||
"@commitlint/config-conventional", | ||
"cz" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
end_of_line = lf | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
coverage/ | ||
dist/ | ||
package-lock.json | ||
package.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,32 +1,12 @@ | ||
{ | ||
"parser": "babel-eslint", | ||
|
||
"env": { | ||
"browser": true, | ||
"node": true, | ||
"es6": true, | ||
"jest": true | ||
}, | ||
|
||
"globals": { | ||
|
||
}, | ||
|
||
"parserOptions": { | ||
"ecmaVersion": 7, | ||
"sourceType": "module", | ||
"ecmaFeatures": { | ||
"jsx": true | ||
} | ||
}, | ||
|
||
"plugins": [ | ||
"react" | ||
"plugins": ["patternfly-react"], | ||
"extends": [ | ||
"plugin:patternfly-react/recommended", | ||
], | ||
"extends": ["eslint:recommended", "plugin:react/recommended"], | ||
|
||
"rules": { | ||
// overrides | ||
"no-multiple-empty-lines": ["error", {"max": 2}] | ||
} | ||
} | ||
"prettier/prettier": ["error", { | ||
"singleQuote": true, | ||
"trailingComma": "es5" | ||
}], | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
* text=auto | ||
*.js text eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!--- Provide a general summary of the issue in the Title above --> | ||
|
||
## I'm submitting a… | ||
|
||
<!-- Check one of the following options with "x" --> | ||
|
||
* [ ] Regression (a behavior that used to work and stopped working in a new release) | ||
* [ ] Bug report <!-- Please search GitHub for a similar issue or PR before submitting --> | ||
* [ ] Feature request | ||
* [ ] Documentation issue or request | ||
* [ ] Support request | ||
|
||
## Expected Behavior | ||
|
||
<!--- If you‘re describing a bug, tell us what should happen --> | ||
|
||
<!--- If you‘re suggesting a change/improvement, tell us how it should work --> | ||
|
||
## Current Behavior | ||
|
||
<!--- If describing a bug, tell us what happens instead of the expected behavior --> | ||
|
||
<!--- If suggesting a change/improvement, explain the difference from current behavior --> | ||
|
||
## Possible Solution | ||
|
||
<!--- Not obligatory, but suggest a fix/reason for the bug, --> | ||
|
||
<!--- or ideas how to implement the addition or change --> | ||
|
||
## Steps to Reproduce (for bugs) | ||
|
||
<!--- Provide a link to a live example, or an unambiguous set of steps to --> | ||
|
||
<!--- reproduce this bug. Include code or screenshot if relevant --> | ||
|
||
1. 2. 3. 4. | ||
|
||
## Environment | ||
|
||
<!--- Include as many relevant details about the environment you experienced the bug in --> | ||
|
||
* react-ellipsis-with-tooltip version: <!-- run `npm ls react-ellipsis-with-tooltip` --> | ||
* Node version: <!-- run `node -v` --> | ||
* NPM version: <!-- run `npm -v` --> | ||
* Yarn version (if you use Yarn): | ||
* Operating system: <!-- Mac, Linux, Windows --> | ||
* Link to your project: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
<!--- | ||
Please read the contribution guide before sending your first commit: | ||
https://github.com/amirfefer/react-ellipsis-with-tooltip/blob/master/contributing.md | ||
--> | ||
|
||
## PR Type | ||
|
||
<!--- | ||
What types of changes does your code introduce? | ||
Put an `x` in all the boxes that apply: | ||
--> | ||
|
||
* [ ] Bugfix | ||
* [ ] Feature | ||
* [ ] Code style update (whitespace, formatting, missing semicolons, etc.) | ||
* [ ] Refactoring (no functional changes, no api changes) | ||
* [ ] Build related changes | ||
* [ ] CI related changes | ||
* [ ] Documentation content changes | ||
* [ ] Other… Please describe: | ||
|
||
## Description | ||
|
||
<!--- | ||
Describe your changes in detail | ||
Why is this change required? What problem does it solve? | ||
If it fixes an open issue, please link to the issue here. | ||
--> | ||
|
||
## How Has This Been Tested? | ||
|
||
<!--- | ||
Please describe in detail how you tested your changes. | ||
Include details of your testing environment, and the tests you ran to | ||
see how your change affects other areas of the code, etc. | ||
--> | ||
|
||
## Screenshots (if appropriate): | ||
|
||
## Does this PR introduce a breaking change? | ||
|
||
<!-- | ||
If this PR contains a breaking change, | ||
please also describe the impact and migration path for existing applications | ||
--> | ||
|
||
* [ ] Yes | ||
* [ ] No |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,61 @@ | ||
node_modules | ||
dist/*.js | ||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
package-lock.json | ||
.idea | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# compiled | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,64 @@ | ||
node_modules | ||
examples/dist/bundle.js | ||
# Source | ||
./src | ||
|
||
# Test files | ||
*test.*.* | ||
|
||
# Logs | ||
logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
pids | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
.idea | ||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Typescript v1 declaration files | ||
typings/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,28 @@ | ||
language: node_js | ||
sudo: required | ||
node_js: | ||
- '8' | ||
- '6' | ||
script: | ||
- npm run test | ||
jobs: | ||
include: | ||
- stage: test | ||
node_js: 8 | ||
script: | ||
- yarn test | ||
- yarn build | ||
- node_js: 10 | ||
script: | ||
- yarn test | ||
- yarn build | ||
- node_js: 12 | ||
script: | ||
- yarn lint:commit-travis | ||
- yarn lint | ||
- yarn test | ||
- yarn build | ||
after_success: yarn coveralls | ||
- stage: release | ||
if: branch = master AND type = push | ||
node_js: 12 | ||
script: yarn build | ||
deploy: | ||
provider: script | ||
skip_cleanup: true | ||
script: yarn semantic-release | ||
|
Oops, something went wrong.