-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Monorepo support. Part of standard-release/cli#1 and standard-release/app#25 resolves #69.
- Loading branch information
Charlike Mike Reagent
authored
Jan 31, 2019
1 parent
249f9a9
commit cae0822
Showing
10 changed files
with
1,221 additions
and
664 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,3 +1,8 @@ | ||
'use strict'; | ||
|
||
module.exports = require('@tunnckocore/config/eslint'); | ||
module.exports = { | ||
extends: 'tunnckocore', | ||
rules: { | ||
'jest/expect-expect': 'off', | ||
}, | ||
}; |
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,11 @@ | ||
{ | ||
"extends": "./node_modules/@tunnckocore/config/nyc.json", | ||
"exclude": [ | ||
"test", | ||
"src/semver-inc/**/*" | ||
] | ||
"statements": 0, | ||
"branches": 0, | ||
"functions": 0, | ||
"lines": 0, | ||
"cache": true, | ||
"check-coverage": true, | ||
"reporter": ["lcov", "text"], | ||
"include": ["src/**/*.js"], | ||
"exclude": ["test", "src/semver-inc/**/*"] | ||
} |
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,3 +1,36 @@ | ||
'use strict'; | ||
|
||
module.exports = require('@tunnckocore/config/prettier'); | ||
module.exports = { | ||
printWidth: 80, | ||
|
||
// That actually is enforced by AirBnB Style anyway. | ||
// Enforce 2 spaces, because JavaScript is always different | ||
// then the rest of the languages. | ||
tabWidth: 2, | ||
|
||
// That actually is enforced by AirBnB Style anyway. | ||
// Explicitness is the most important thing: | ||
// - Always is visible that this is function (because the parens). | ||
// - If you first write single param and decide to add new one, | ||
// then you should also add a parens around the both - that's mess. | ||
arrowParens: 'always', | ||
|
||
// Enforce single-quotes, because industry standard. | ||
singleQuote: true, | ||
|
||
// That actually is enforced by AirBnB Style anyway. | ||
// Always useful. And guaranteed that you won't see boring errors, | ||
// that eats your time, because of nothing real. | ||
trailingComma: 'all', | ||
|
||
// That actually is enforced by AirBnB Style anyway. | ||
// Enforce more clear object literals. | ||
// As seen in this example https://github.com/airbnb/javascript#objects--rest-spread | ||
bracketSpacing: true, | ||
|
||
// That actually is enforced by AirBnB Style anyway. | ||
// Enforcing bracket on the next line makes differentiate | ||
// where ends the tag and its properties and where starts the content of the tag. | ||
// https://prettier.io/docs/en/options.html#jsx-brackets | ||
jsxBracketSameLine: false, | ||
}; |
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.