This repository has been archived by the owner on Dec 2, 2019. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
style: global and simpler prettier config
this also removes precommit scripts because they were cumbersome
- Loading branch information
1 parent
90d6b31
commit 23ddc68
Showing
28 changed files
with
208 additions
and
1,222 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
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,27 +1,17 @@ | ||
## I'm submitting a... | ||
|
||
- [ ] bug report | ||
- [ ] feature request | ||
- [ ] design request | ||
* [ ] bug report | ||
* [ ] feature request | ||
* [ ] design request | ||
|
||
## What is the current behavior? | ||
|
||
|
||
|
||
## If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem | ||
|
||
|
||
|
||
## What is the expected behavior? | ||
|
||
|
||
|
||
## What is the motivation / use case for changing the behavior? | ||
|
||
|
||
|
||
## If the current behavior is a bug, please provide your browser | ||
|
||
|
||
|
||
## Other information |
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,22 +1,14 @@ | ||
**Please check if the PR fulfills these requirements** | ||
- [ ] The commit message follows our [guidelines](https://github.com/yldio/joyent-portal/blob/master/.github/COMMIT_GUIDELINES.md) | ||
- [ ] Tests for the changes have been added (for bug fixes / features) | ||
|
||
* [ ] The commit message follows our [guidelines](https://github.com/yldio/joyent-portal/blob/master/.github/COMMIT_GUIDELINES.md) | ||
* [ ] Tests for the changes have been added (for bug fixes / features) | ||
|
||
**What kind of change does this PR introduce?** (Bug fix, feature, docs update, ...) | ||
|
||
|
||
|
||
**Does this PR close an issue?** (If not please create one) | ||
|
||
|
||
|
||
**What is the new behavior (if this is a feature change)?** | ||
|
||
|
||
|
||
**Does this PR introduce a breaking change?** (What changes might users need to make in their application due to this PR?) | ||
|
||
|
||
|
||
**Other information** |
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
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,24 @@ | ||
.git/* | ||
.DS_Store | ||
|
||
license | ||
yarn.lock | ||
.travis.yml | ||
|
||
.yarnclean | ||
.eslintignore | ||
.prettierignore | ||
.npmignore | ||
.gitignore | ||
.dockerignore | ||
|
||
dist | ||
build | ||
|
||
*.ico | ||
*.html | ||
*.log | ||
*.svg | ||
*.map | ||
*.png | ||
*.snap |
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,31 @@ | ||
{ | ||
"bracketSpacing": true, | ||
"jsxBracketSameLine": false, | ||
"printWidth": 80, | ||
"semi": true, | ||
"singleQuote": true, | ||
"tabWidth": 2, | ||
"trailingComma": "none", | ||
"useTabs": false, | ||
"overrides": [ | ||
{ | ||
"files": [ | ||
".prettierrc", | ||
".eslintrc", | ||
".babelrc", | ||
".tern-project", | ||
".stylelintrc", | ||
".lighthouserc" | ||
], | ||
"options": { | ||
"parser": "json" | ||
} | ||
}, | ||
{ | ||
"files": ["package.json"], | ||
"options": { | ||
"printWidth": 180 | ||
} | ||
} | ||
] | ||
} |
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
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,15 +1,15 @@ | ||
{ | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "chrome", | ||
"request": "launch", | ||
"name": "Launch Chrome against localhost", | ||
"url": "http://localhost:3069/", | ||
"webRoot": "${workspaceRoot}" | ||
} | ||
] | ||
} | ||
// Use IntelliSense to learn about possible attributes. | ||
// Hover to view descriptions of existing attributes. | ||
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"type": "chrome", | ||
"request": "launch", | ||
"name": "Launch Chrome against localhost", | ||
"url": "http://localhost:3069/", | ||
"webRoot": "${workspaceRoot}" | ||
} | ||
] | ||
} |
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
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
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
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,12 @@ | ||
{ | ||
"ignore": ["_document.js"], | ||
"presets": [["joyent-portal", { | ||
"aliases": true, | ||
"autoAliases": true | ||
}]] | ||
"presets": [ | ||
[ | ||
"joyent-portal", | ||
{ | ||
"aliases": true, | ||
"autoAliases": 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 |
---|---|---|
@@ -1,15 +1,13 @@ | ||
{ | ||
"libs": [ | ||
"ecmascript", | ||
"browser" | ||
], | ||
"libs": ["ecmascript", "browser"], | ||
"plugins": { | ||
"doc_comment": true, | ||
"local-scope": true, | ||
"jsx": true, | ||
"node": true, | ||
"webpack": { | ||
"configPath": "../../node_modules/joyent-react-scripts/src/webpack.config.dev.js" | ||
"configPath": | ||
"../../node_modules/joyent-react-scripts/src/webpack.config.dev.js" | ||
} | ||
} | ||
} |
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
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,12 @@ | ||
{ | ||
"ignore": ["_document.js", "_aliases.js"], | ||
"presets": [["joyent-portal", { | ||
"aliases": true, | ||
"autoAliases": true | ||
}]] | ||
"presets": [ | ||
[ | ||
"joyent-portal", | ||
{ | ||
"aliases": true, | ||
"autoAliases": 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 |
---|---|---|
|
@@ -5,4 +5,4 @@ | |
"href": "http://0.0.0.0:3069" | ||
}, | ||
"extends": "lighthouse:default" | ||
} | ||
} |
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,15 +1,13 @@ | ||
{ | ||
"libs": [ | ||
"ecmascript", | ||
"browser" | ||
], | ||
"libs": ["ecmascript", "browser"], | ||
"plugins": { | ||
"doc_comment": true, | ||
"local-scope": true, | ||
"jsx": true, | ||
"node": true, | ||
"webpack": { | ||
"configPath": "../../node_modules/joyent-react-scripts/src/webpack.config.dev.js" | ||
"configPath": | ||
"../../node_modules/joyent-react-scripts/src/webpack.config.dev.js" | ||
} | ||
} | ||
} |
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,4 @@ | ||
{ | ||
"test": ["./src/**/*.js"], | ||
"extends": ["stylelint-config-joyent-portal"] | ||
} | ||
} |
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
Oops, something went wrong.