-
Notifications
You must be signed in to change notification settings - Fork 0
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
1 parent
c95c6b3
commit 45c6701
Showing
27 changed files
with
249 additions
and
266 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 |
---|---|---|
|
@@ -89,4 +89,5 @@ typings/ | |
# lerna-changelog cache directory | ||
.changelog/ | ||
|
||
packages/eslint-plugin-wantedly/lib | ||
packages/frolint/lib |
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 |
---|---|---|
|
@@ -4,6 +4,9 @@ | |
"author": "Yuki Yamada <[email protected]>", | ||
"license": "MIT", | ||
"devDependencies": { | ||
"@types/eslint": "^7.2.0", | ||
"@types/estree": "^0.0.45", | ||
"@types/graphql": "^14.5.0", | ||
"@types/jest": "^26.0.5", | ||
"jest": "^26.1.0", | ||
"lerna": "^3.22.1", | ||
|
@@ -31,8 +34,8 @@ | |
"lint": "frolint --branch master", | ||
"lint:ci": "frolint --expect-no-errors", | ||
"changelog": "yarn --silent lerna-changelog | cat - CHANGELOG.md | yarn --silent prettier --stdin-filepath CHANGELOG.md > CHANGELOG_BACKUP.md; mv CHANGELOG_BACKUP.md CHANGELOG.md", | ||
"build": "lerna run build --scope frolint", | ||
"build:watch": "lerna exec npm run build:watch --scope frolint", | ||
"build": "lerna run build", | ||
"build:watch": "lerna exec npm run build:watch", | ||
"prerelease": "yarn install --force && yarn run build", | ||
"release": "lerna publish --force-publish --preid beta --pre-dist-tag beta" | ||
}, | ||
|
This file was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
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
2 changes: 1 addition & 1 deletion
2
...t-plugin-wantedly/__tests__/index.test.js → ...ugin-wantedly/src/__tests__/index.test.ts
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,19 @@ | ||
import * as GRAPHQL_OPERATION_NAME from "./rules/graphql-operation-name"; | ||
import * as GRAPHQL_PASCAL_CASE_TYPE_NAME from "./rules/graphql-pascal-case-type-name"; | ||
import * as NEXUS_CAMEL_CASE_FIELD_NAME from "./rules/nexus-camel-case-field-name"; | ||
import * as NEXUS_ENUM_VALUES_DESCRIPTION from "./rules/nexus-enum-values-description"; | ||
// import * as NEXUS_FIELD_DESCRIPTION from "./rules/nexus-field-description"; | ||
// import * as NEXUS_PASCAL_CASE_TYPE_NAME from "./rules/nexus-pascal-case-type-name"; | ||
// import * as NEXUS_TYPE_DESCRIPTION from "./rules/nexus-type-description"; | ||
// import * as NEXUS_UPPER_CASE_ENUM_MEMBERS from "./rules/nexus-upper-case-enum-members"; | ||
|
||
export const rules = { | ||
[GRAPHQL_OPERATION_NAME.RULE_NAME]: GRAPHQL_OPERATION_NAME.RULE, | ||
[GRAPHQL_PASCAL_CASE_TYPE_NAME.RULE_NAME]: GRAPHQL_PASCAL_CASE_TYPE_NAME.RULE, | ||
[NEXUS_CAMEL_CASE_FIELD_NAME.RULE_NAME]: NEXUS_CAMEL_CASE_FIELD_NAME.RULE, | ||
[NEXUS_ENUM_VALUES_DESCRIPTION.RULE_NAME]: NEXUS_ENUM_VALUES_DESCRIPTION.RULE, | ||
// [NEXUS_FIELD_DESCRIPTION.RULE_NAME]: NEXUS_FIELD_DESCRIPTION.RULE, | ||
// [NEXUS_PASCAL_CASE_TYPE_NAME.RULE_NAME]: NEXUS_PASCAL_CASE_TYPE_NAME.RULE, | ||
// [NEXUS_TYPE_DESCRIPTION.RULE_NAME]: NEXUS_TYPE_DESCRIPTION.RULE, | ||
// [NEXUS_UPPER_CASE_ENUM_MEMBERS.RULE_NAME]: NEXUS_UPPER_CASE_ENUM_MEMBERS.RULE, | ||
}; |
14 changes: 7 additions & 7 deletions
14
.../__tests__/graphql-operation-name.test.js → .../__tests__/graphql-operation-name.test.ts
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
14 changes: 7 additions & 7 deletions
14
...s__/graphql-pascal-case-type-name.test.js → ...s__/graphql-pascal-case-type-name.test.ts
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
14 changes: 7 additions & 7 deletions
14
...sts__/nexus-camel-case-field-name.test.js → ...sts__/nexus-camel-case-field-name.test.ts
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
14 changes: 7 additions & 7 deletions
14
...s__/nexus-enum-values-description.test.js → ...s__/nexus-enum-values-description.test.ts
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
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
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.