Skip to content

Commit bbcf4dc

Browse files
committed
Update linting.
- Remove compare tool local eslint config. - Remove compare tool lint support. Depend on top-level linting.
1 parent 8b865ba commit bbcf4dc

File tree

3 files changed

+6
-22
lines changed

3 files changed

+6
-22
lines changed

.eslintrc.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,14 @@
11
module.exports = {
2+
root: true,
23
env: {
34
browser: true,
45
commonjs: true,
56
node: true,
67
es2020: true
78
},
8-
extends: 'eslint-config-digitalbazaar',
9-
root: true,
9+
extends: [
10+
'digitalbazaar'
11+
],
1012
ignorePatterns: [
1113
'dist/',
1214
'tests/webidl/WebIDLParser.js',

benchmarks/compare/.eslintrc.cjs

Lines changed: 0 additions & 10 deletions
This file was deleted.

benchmarks/compare/package.json

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -26,16 +26,11 @@
2626
"main": "compare.js",
2727
"dependencies": {
2828
"common-path-prefix": "^3.0.0",
29-
"eslint-plugin-unicorn": "^42.0.0",
3029
"markdown-table": "^3.0.2",
3130
"yargs": "^17.5.1"
3231
},
33-
"devDependencies": {
34-
"eslint": "^8.17.0",
35-
"eslint-config-digitalbazaar": "^3.0.0"
36-
},
3732
"engines": {
38-
"node": ">=12"
33+
"node": ">=14"
3934
},
4035
"keywords": [
4136
"JSON",
@@ -45,8 +40,5 @@
4540
"Semantic Web",
4641
"jsonld",
4742
"benchmark"
48-
],
49-
"scripts": {
50-
"lint": "eslint ."
51-
}
43+
]
5244
}

0 commit comments

Comments
 (0)