mirror of
https://github.com/expressjs/expressjs.com.git
synced 2026-02-21 19:41:33 +00:00
Bumps [eslint-plugin-promise](https://github.com/eslint-community/eslint-plugin-promise) from 6.2.0 to 6.6.0. - [Release notes](https://github.com/eslint-community/eslint-plugin-promise/releases) - [Changelog](https://github.com/eslint-community/eslint-plugin-promise/blob/main/CHANGELOG.md) - [Commits](https://github.com/eslint-community/eslint-plugin-promise/compare/v6.2.0...v6.6.0) --- updated-dependencies: - dependency-name: eslint-plugin-promise dependency-version: 6.6.0 dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
56 lines
1.3 KiB
JSON
56 lines
1.3 KiB
JSON
{
|
|
"name": "expressjs.com",
|
|
"version": "0.0.0",
|
|
"private": true,
|
|
"scripts": {
|
|
"test": "eslint --ignore-path .gitignore --ignore-pattern _includes/readmes/ \"**/*.md\""
|
|
},
|
|
"devDependencies": {
|
|
"eslint": "^8.54.0",
|
|
"eslint-config-standard": "^17.1.0",
|
|
"eslint-plugin-import": "^2.32.0",
|
|
"eslint-plugin-markdown": "^2.2.1",
|
|
"eslint-plugin-n": "^15.0.0",
|
|
"eslint-plugin-promise": "^6.6.0"
|
|
},
|
|
"eslintConfig": {
|
|
"extends": [
|
|
"standard",
|
|
"plugin:markdown/recommended"
|
|
],
|
|
"plugins": [
|
|
"markdown"
|
|
],
|
|
"overrides": [
|
|
{
|
|
"files": "**/*.md",
|
|
"processor": "markdown/markdown"
|
|
},
|
|
{
|
|
"files": "**/*.md/*.js",
|
|
"rules": {
|
|
"array-callback-return": "off",
|
|
"no-var": "error",
|
|
"n/handle-callback-err": "off",
|
|
"object-shorthand": "error",
|
|
"prefer-arrow-callback": "error",
|
|
"prefer-template": "error"
|
|
}
|
|
},
|
|
{
|
|
"files": [
|
|
"**/3x/*.md/*.js",
|
|
"**/4x/*.md/*.js",
|
|
"**/guide/migrating-4.md/*.js"
|
|
],
|
|
"rules": {
|
|
"no-var": "off",
|
|
"object-shorthand": "off",
|
|
"prefer-arrow-callback": "off",
|
|
"prefer-template": "off"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
}
|