Remove underscore from develop

This commit is contained in:
Paulo Gustavo Veiga 2021-12-13 14:00:47 -08:00
parent 143982f1a2
commit 695dd71921
5 changed files with 0 additions and 5 deletions

View File

@ -15,7 +15,6 @@
},
"plugins": ["only-warn"],
"rules": {
"no-underscore-dangle": "off",
"no-plusplus": "off",
"class-methods-use-this": "off",
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["!cypress/**/*.js"]}]

View File

@ -34,7 +34,6 @@
"@wisemapping/web2d": "^0.0.1",
"jquery": "^3.6.0",
"mootools": "1.4.5",
"underscore": "^1.13.1"
},
"devDependencies": {
"@babel/core": "^7.14.6",

View File

@ -37,7 +37,6 @@ module.exports = {
exclude: [
/node_modules/,
path.resolve(__dirname, '../../libraries/mootools-core-1.4.5'),
path.resolve(__dirname, '../../libraries/underscore-min'),
/lib\/raphael/ig,
],
},

View File

@ -11,7 +11,6 @@
"Class": "readonly"
},
"rules": {
"no-underscore-dangle": "off",
"no-restricted-syntax": "off",
"no-plusplus": "off",
"max-len": [1,250],

View File

@ -50,7 +50,6 @@ class TextPeer extends ElementPeer {
if (text) {
const lines = text.split('\n');
const me = this;
// FIXME: we could use underscorejs here
lines.forEach((line) => {
const tspan = window.document.createElementNS(ElementPeer.svgNamespace, 'tspan');
tspan.setAttribute('dy', '1em');