Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin' into npm-check-updates
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiaanspeck committed Dec 31, 2024
2 parents de81ea8 + 60d4673 commit ad7798b
Show file tree
Hide file tree
Showing 3 changed files with 50 additions and 117 deletions.
58 changes: 29 additions & 29 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,32 +1,32 @@
export default [
{
"files": ["bin/tldr"],
"rules": {
"indent": ["error", 2],
"quotes": ["error", "single"],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
"no-console": "off",
"arrow-parens": ["error", "always"],
"arrow-body-style": ["error", "always"],
"array-callback-return": "error",
"no-magic-numbers": ["error", {
"ignore": [-1, 0, 1, 2],
"ignoreArrayIndexes": true,
"detectObjects": true
}],
"no-var": "error",
"no-warning-comments": "warn",
"handle-callback-err": "error"
},
"languageOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"globals": {
"node": true,
"mocha": true,
"es2019": true
{
"files": ["bin/tldr"],
"rules": {
"indent": ["error", 2],
"quotes": ["error", "single"],
"linebreak-style": ["error", "unix"],
"semi": ["error", "always"],
"no-console": "off",
"arrow-parens": ["error", "always"],
"arrow-body-style": ["error", "always"],
"array-callback-return": "error",
"no-magic-numbers": ["error", {
"ignore": [-1, 0, 1, 2],
"ignoreArrayIndexes": true,
"detectObjects": true
}],
"no-var": "error",
"no-warning-comments": "warn",
"handle-callback-err": "error"
},
"languageOptions": {
"ecmaVersion": "latest",
"sourceType": "module",
"globals": {
"node": true,
"mocha": true,
"es2019": true
}
}
}
}
];
];
103 changes: 18 additions & 85 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -68,10 +68,10 @@
"ora": "^8.1.1"
},
"devDependencies": {
"eslint": "^9.17.0",
"eslint": "^9.14.0",
"eslint-config-eslint": "^11.0.0",
"husky": "^9.1.7",
"mocha": "^11.0.1",
"husky": "^9.1.6",
"mocha": "^10.2.0",
"nyc": "^17.1.0",
"should": "^13.2.3",
"sinon": "^19.0.2"
Expand Down

0 comments on commit ad7798b

Please sign in to comment.