Skip to content

Commit

Permalink
[Dev Deps] update eslint, @ljharb/eslint-config; add `safe-publis…
Browse files Browse the repository at this point in the history
…h-latest`
  • Loading branch information
ljharb committed Nov 12, 2019
1 parent 678cb2a commit 9dedd40
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 6 deletions.
4 changes: 0 additions & 4 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
"eqeqeq": 1,
"func-style": [2, "declaration"],
"indent": [2, 2],
"max-lines-per-function": [2, 75],
"max-params": [2, 3],
"max-statements-per-line": [2, { "max": 2 }],
"strict": 1,
Expand All @@ -15,11 +14,8 @@
{
"files": ["example/**", "test/**"],
"rules": {
"array-bracket-newline": 0,
"max-params": 0,
"max-statements": 0,
"no-console": 0,
"no-magic-numbers": 0,
},
},
],
Expand Down
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
"test": "test"
},
"scripts": {
"prepublish": "safe-publish-latest",
"pretest": "npm run lint",
"lint": "eslint .",
"tests-only": "tape test/*",
Expand All @@ -24,8 +25,9 @@
"regexp.prototype.flags": "^1.2.0"
},
"devDependencies": {
"@ljharb/eslint-config": "^13.1.1",
"eslint": "^5.16.0",
"@ljharb/eslint-config": "^15.0.1",
"eslint": "^6.6.0",
"safe-publish-latest": "^1.1.4",
"tape": "^4.11.0"
},
"repository": {
Expand Down

0 comments on commit 9dedd40

Please sign in to comment.