Skip to content

Commit

Permalink
Bumping d3 version and updating lint rules
Browse files Browse the repository at this point in the history
  • Loading branch information
rustedgrail committed Jul 24, 2023
1 parent e1c4d38 commit 8c8f5ed
Show file tree
Hide file tree
Showing 7 changed files with 733 additions and 511 deletions.
10 changes: 7 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,14 @@
{
"extends": "eslint:recommended",
"env": {
"browser": true,
"node": true,
"mocha": true
"es6": true,
"mocha": true,
"node": true
},
"parserOptions": {
"ecmaVersion": "latest"
},
"extends": "eslint:recommended",
"rules": {
"indent": [ "error", 2 ],
"linebreak-style": [ "error", "unix" ],
Expand Down
28 changes: 17 additions & 11 deletions .jshintrc
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
{
"eqeqeq": true,
"newcap": true,
"quotmark": true,
"unused": true,
"trailing": true,
"laxbreak": true,
"node": true,
"expr": true,
"globals": {
"location": false
}
"camelcase": true,
"eqeqeq": true,
"expr": true,
"freeze": true,
"immed": true,
"laxbreak": true,
"newcap": true,
"noarg": true,
"node": true,
"quotmark": "double",
"trailing": true,
"undef": true,
"unused": true,

"globals": {
"location": false
}
}
6 changes: 3 additions & 3 deletions bower.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "dagre-d3",
"version": "0.6.4",
"main": [
"dist/dagre-d3.core.js"
"dist/dagre-d3.js"
],
"ignore": [
".*",
Expand All @@ -20,9 +20,9 @@
"test/**"
],
"dependencies": {
"d3": "^5.14",
"d3": "^7.8.5",
"@dagrejs/dagre": "1.0.2",
"g@dagrejs/raphlib": "2.1.13",
"@dagrejs/graphlib": "2.1.13",
"lodash": "^4.17.15"
}
}
2 changes: 1 addition & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// Type definitions for dagre-d3.core.js 0.6
// Type definitions for dagre-d3.js 0.6
// Project: https://github.com/dagrejs/dagre-d3
// Definitions by: Matthew Simmons <https://github.com/simmonmt>
// Mark Wong Siang Kai <https://github.com/markwongsk>
Expand Down

0 comments on commit 8c8f5ed

Please sign in to comment.