Skip to content

Commit

Permalink
[Dev Deps] update eslint, @ljharb/eslint-config, auto-changelog
Browse files Browse the repository at this point in the history
…, `safe-publish-latest`, `tape`
  • Loading branch information
ljharb committed Dec 9, 2021
1 parent 211e00e commit 6112fa0
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 41 deletions.
38 changes: 3 additions & 35 deletions .eslintrc
@@ -1,41 +1,9 @@
{
"root": true,
"extends": "@ljharb",
"env": {
"es6": true,
},
"parserOptions": {
"ecmaVersion": 2018,
},
"rules": {
"no-process-exit": 0,

"extends": "@ljharb/eslint-config/node/6",

"rules": {
"array-bracket-newline": 0,
"arrow-parens": [2, "always"],
"comma-dangle": [2, {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}],
"dot-notation": [2, { "allowKeywords": true }],
"no-console": 0,
"object-shorthand": [2, "always"],
"prefer-const": 2,
"quote-props": [2, "as-needed", {
"keywords": false,
"numbers": true,
"unnecessary": true,
}],
},
"overrides": [
{
"files": "test/**",
"rules": {
"max-nested-callbacks": 0,
"max-params": 0,
},
},
],
}
12 changes: 6 additions & 6 deletions package.json
Expand Up @@ -7,7 +7,7 @@
"prepublish": "not-in-publish || npm run prepublishOnly",
"prepublishOnly": "safe-publish-latest",
"pretest": "npm run lint",
"lint": "eslint .",
"lint": "eslint --ext=js,mjs .",
"tests-only": "tape test",
"test": "npm run tests-only",
"posttest": "npx aud --production",
Expand Down Expand Up @@ -44,11 +44,11 @@
"util.promisify": "^1.1.1"
},
"devDependencies": {
"@ljharb/eslint-config": "^17.5.1",
"auto-changelog": "^2.2.1",
"eslint": "^7.25.0",
"safe-publish-latest": "^1.1.4",
"tape": "^5.2.2"
"@ljharb/eslint-config": "^20.0.0",
"auto-changelog": "^2.3.0",
"eslint": "^8.4.1",
"safe-publish-latest": "^2.0.0",
"tape": "^5.3.2"
},
"engines": {
"node": ">= 10 || ^8 || ^6",
Expand Down

0 comments on commit 6112fa0

Please sign in to comment.