-
Notifications
You must be signed in to change notification settings - Fork 137
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #7 from okgrow/0.3
0.3
- Loading branch information
Showing
33 changed files
with
10,669 additions
and
305 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,15 +1,13 @@ | ||
module.exports = { | ||
"extends": "airbnb", | ||
"rules": { | ||
"arrow-body-style": 1, // Sometimes we don't want to keep doing this | ||
"no-extra-parens": 0, // Interferes with jsx | ||
"no-underscore-dangle": 0, // Mongo _id | ||
"max-len": 1, // Sometimes necessary to have long strings and not risk whitespace | ||
"no-param-reassign": [2, { "props": false }], // Allows assignment of new properties | ||
"new-cap": 1, // Warning is good enough - we don't have any control over external packages doing this | ||
"import/named": 2, // Ensure named imports correspond to a named export in the remote file | ||
"import/no-extraneous-dependencies": 0, // https://github.com/benmosher/eslint-plugin-import/issues/479 | ||
"import/extensions": ["off", "never"], // https://github.com/benmosher/eslint-plugin-import/issues/593 | ||
"no-mixed-operators": 0, // Allow && || usage. e.g: const foo = a && a.foo || undefined; | ||
extends: 'airbnb', | ||
rules: { | ||
'function-paren-newline': 'off', | ||
'import/extensions': ['off', 'never'], // https://github.com/benmosher/eslint-plugin-import/issues/593 | ||
'import/named': 'error', // Ensure named imports correspond to a named export in the remote file | ||
'import/no-extraneous-dependencies': 'off', // https://github.com/benmosher/eslint-plugin-import/issues/479 | ||
'new-cap': 'warn', // Warning is good enough - we don't have any control over external packages doing this | ||
'no-mixed-operators': 'off', // Allow && || usage. e.g: const foo = a && a.foo || undefined; | ||
'no-param-reassign': ['error', { props: false }], // Allows assignment of new properties | ||
'no-underscore-dangle': 'off', // Mongo _id | ||
}, | ||
} | ||
}; |
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,43 @@ | ||
# Change Log | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](http://keepachangelog.com/) | ||
and this project adheres to [Semantic Versioning](http://semver.org/). | ||
|
||
## [0.3.0] - 2018-04-06 | ||
|
||
### Changed | ||
|
||
* Updated package versions in `devDependencies` | ||
* Updated `graphql` version dependency to `0.13.1` | ||
* Added [Prettier](https://prettier.io/) configuration to `package.json` | ||
* Linted (based on updates to eslint packages) and Prettier-ed all files | ||
|
||
### Added | ||
|
||
* PhoneNumber | ||
* PostalCode | ||
* `package-lock.json` | ||
|
||
## [0.2.0] - 2018-01-16 | ||
|
||
### Changed | ||
- Implemented more strict numeric type checking | ||
- Some type exception messages changed slightly | ||
- Changed `graphql` from a dependency to a _peer_ dependency | ||
|
||
* Implemented more strict numeric type checking | ||
* Some type exception messages changed slightly | ||
* Changed `graphql` from a dependency to a _peer_ dependency | ||
|
||
### Added | ||
- NegativeInt | ||
- NegativeFloat | ||
- NonPositiveInt | ||
- NonPositiveFloat | ||
- more tests | ||
|
||
* NegativeInt | ||
* NegativeFloat | ||
* NonPositiveInt | ||
* NonPositiveFloat | ||
* more tests | ||
|
||
## [0.1.0] - 2017-07-14 | ||
|
||
### Added | ||
- Initial Release - released as [`@okgrow/graphql-scalars`](https://www.npmjs.com/package/@okgrow/graphql-scalars) on npm. | ||
|
||
* Initial Release - released as [`@okgrow/graphql-scalars`](https://www.npmjs.com/package/@okgrow/graphql-scalars) on npm. |
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.