-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Support latest JavaScript and TypeScript, overhaul cli opts, etc.
Finally got around to using this library again, and got everything updated. * Use espree instead of esprima * Update to latest deps * Use more standard cli opts * Switch to ESlint for linting * Remove old config files and unused packages
- Loading branch information
1 parent
b576021
commit d317398
Showing
52 changed files
with
10,390 additions
and
20,327 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 |
---|---|---|
@@ -0,0 +1,35 @@ | ||
{ | ||
"plugins": [ | ||
"eslint-plugin-jsdoc", | ||
"eslint-plugin-prefer-arrow", | ||
"@typescript-eslint", | ||
"@stylistic/ts" | ||
], | ||
"env": { | ||
"browser": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"ignorePatterns": [ | ||
"bin", | ||
"lib", | ||
"test/fixtures" | ||
], | ||
"extends": [ | ||
"plugin:@typescript-eslint/recommended", | ||
"plugin:@typescript-eslint/recommended-requiring-type-checking" | ||
], | ||
"parser": "@typescript-eslint/parser", | ||
"parserOptions": { | ||
"project": "tsconfig.json", | ||
"sourceType": "module" | ||
}, | ||
"root": true, | ||
"rules": { | ||
"@stylistic/ts/semi": ["error", "never"], | ||
"@stylistic/ts/comma-dangle": ["error", "never"], | ||
"@stylistic/ts/type-annotation-spacing": ["error", { "before": true, "after": true }], | ||
"@typescript-eslint/no-unused-vars": "off", | ||
"@typescript-eslint/no-var-requires": "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,5 +1,6 @@ | ||
lib/* linguist-vendored | ||
test/* linguist-vendored | ||
bin/* linguist-vendored | ||
lib/** linguist-generated | ||
test/fixtures/** linguist-generated | ||
bin/** linguist-vendored | ||
package-lock.json linguist-generated | ||
|
||
* 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 |
---|---|---|
|
@@ -2,5 +2,4 @@ node_modules | |
.nyc_output | ||
coverage | ||
npm-debug.log | ||
tmp | ||
tags | ||
.ignore |
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,38 @@ | ||
|
||
{ | ||
"git": { | ||
"changelog": "", | ||
"requireCleanWorkingDir": true, | ||
"requireBranch": false, | ||
"requireUpstream": false, | ||
"requireCommits": false, | ||
"requireCommitsFail": true, | ||
"commitsPath": "", | ||
"addUntrackedFiles": false, | ||
"commit": true, | ||
"commitMessage": "v${version}", | ||
"commitArgs": [], | ||
"tag": true, | ||
"tagExclude": null, | ||
"tagName": null, | ||
"tagMatch": null, | ||
"getLatestTagFromAllRefs": false, | ||
"tagAnnotation": "v${version}", | ||
"tagArgs": [], | ||
"push": true, | ||
"pushArgs": ["--follow-tags"], | ||
"pushRepo": "" | ||
}, | ||
"npm": { | ||
"publish": true, | ||
"publishPath": ".", | ||
"publishArgs": [], | ||
"tag": null, | ||
"otp": null, | ||
"ignoreVersion": false, | ||
"allowSameVersion": false, | ||
"versionArgs": [], | ||
"skipChecks": false, | ||
"timeout": 10 | ||
} | ||
} |
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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,4 @@ | ||
#!/usr/bin/env sh | ||
set -x | ||
uname -a | ||
node --version | ||
npm --version |
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 |
---|---|---|
|
@@ -13,4 +13,4 @@ npm t | |
|
||
git add -f lib | ||
|
||
npm run -s -- release-it -n -p -m 'v%s' -i $level | ||
npm run -s release -- "$level" |
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
Oops, something went wrong.