Skip to content

Commit

Permalink
migrate to neostandard
Browse files Browse the repository at this point in the history
  • Loading branch information
goto-bus-stop committed Oct 16, 2024
1 parent c4c7d08 commit daefec4
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 2 deletions.
10 changes: 10 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
'use strict'

module.exports = require('neostandard')().concat([
{
rules: {
'no-var': 'off',
'object-shorthand': ['error', 'never'],
},
},
])
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,12 @@
},
"devDependencies": {
"dedent": "^0.7.0",
"eslint": "^9.12.0",
"hyperstream": "^1.2.2",
"nanobench": "^2.1.1",
"neostandard": "^0.11.6",
"rimraf": "^3.0.0",
"simple-concat": "^1.0.0",
"standard": "^14.0.0",
"tape": "^5.0.0"
},
"engines": {
Expand All @@ -38,7 +39,7 @@
"scripts": {
"bench": "node bench/hstream.js",
"compare": "node bench/hyperstream.js > bench/hyperstream.txt && node bench/hstream.js > bench/hstream.txt && nanobench-compare bench/*.txt; rimraf bench/*.txt",
"lint": "standard",
"lint": "eslint .",
"test": "node test/index.js"
}
}

0 comments on commit daefec4

Please sign in to comment.