#750 configurar reglas de eslint para todos los equipos del proyecto
This commit is contained in:
parent
faa7ca154a
commit
e953d04d80
|
@ -1,4 +1,4 @@
|
||||||
extends: [eslint:recommended, google, plugin:jasmine/recommended]
|
extends: [google, plugin:jasmine/recommended]
|
||||||
parserOptions:
|
parserOptions:
|
||||||
ecmaVersion: 2018
|
ecmaVersion: 2018
|
||||||
sourceType: "module"
|
sourceType: "module"
|
||||||
|
|
|
@ -5065,48 +5065,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"eslint-config-angular": {
|
|
||||||
"version": "0.5.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-angular/-/eslint-config-angular-0.5.0.tgz",
|
|
||||||
"integrity": "sha1-4KrgEy4550Z98/dUf+yBpE02hcQ=",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"eslint-config-google": {
|
"eslint-config-google": {
|
||||||
"version": "0.11.0",
|
"version": "0.11.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-google/-/eslint-config-google-0.11.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-config-google/-/eslint-config-google-0.11.0.tgz",
|
||||||
"integrity": "sha512-z541Fs5TFaY7/35v/z100InQ2f3V2J7e3u/0yKrnImgsHjh6JWgSRngfC/mZepn/+XN16jUydt64k//kxXc1fw==",
|
"integrity": "sha512-z541Fs5TFaY7/35v/z100InQ2f3V2J7e3u/0yKrnImgsHjh6JWgSRngfC/mZepn/+XN16jUydt64k//kxXc1fw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"eslint-config-loopback": {
|
|
||||||
"version": "12.0.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-loopback/-/eslint-config-loopback-12.0.0.tgz",
|
|
||||||
"integrity": "sha512-Pxz7ecK+/4ufJIMMtQ+XimQUP8qpM9IdVvIg78N17w6/PMBoFEeX1ef+ylb3c4BrAGcTzm+gb8VFtFW2JXoWKA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"eslint-plugin-mocha": "^4.11.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eslint-config-xo": {
|
|
||||||
"version": "0.25.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/eslint-config-xo/-/eslint-config-xo-0.25.0.tgz",
|
|
||||||
"integrity": "sha512-bViV+I3smPWzzhI15U9PIk5CTt1Ym/GqdtRMIK/LePqp0yKLgw+WC51bBZEPgrKcib79uwwOLVPrv+nzoJJj+g==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"eslint-plugin-jasmine": {
|
"eslint-plugin-jasmine": {
|
||||||
"version": "2.10.1",
|
"version": "2.10.1",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-jasmine/-/eslint-plugin-jasmine-2.10.1.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-plugin-jasmine/-/eslint-plugin-jasmine-2.10.1.tgz",
|
||||||
"integrity": "sha1-VzO3CedR9LxA4x4cFpib0s377Jc=",
|
"integrity": "sha1-VzO3CedR9LxA4x4cFpib0s377Jc=",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"eslint-plugin-mocha": {
|
|
||||||
"version": "4.12.1",
|
|
||||||
"resolved": "https://registry.npmjs.org/eslint-plugin-mocha/-/eslint-plugin-mocha-4.12.1.tgz",
|
|
||||||
"integrity": "sha512-hxWtYHvLA0p/PKymRfDYh9Mxt5dYkg2Goy1vZDarTEEYfELP9ksga7kKG1NUKSQy27C8Qjc7YrSWTLUhOEOksA==",
|
|
||||||
"dev": true,
|
|
||||||
"requires": {
|
|
||||||
"ramda": "^0.25.0"
|
|
||||||
}
|
|
||||||
},
|
|
||||||
"eslint-scope": {
|
"eslint-scope": {
|
||||||
"version": "4.0.0",
|
"version": "4.0.0",
|
||||||
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0.tgz",
|
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-4.0.0.tgz",
|
||||||
|
@ -17642,12 +17612,6 @@
|
||||||
"integrity": "sha512-eTPo5t/4bgaMNZxyjWx6N2a6AuE0mq51KWvpc7nU/MAqixcI6v6KrGUKES0HaomdnolQBBXU/++X6/QQ9KL4tw==",
|
"integrity": "sha512-eTPo5t/4bgaMNZxyjWx6N2a6AuE0mq51KWvpc7nU/MAqixcI6v6KrGUKES0HaomdnolQBBXU/++X6/QQ9KL4tw==",
|
||||||
"dev": true
|
"dev": true
|
||||||
},
|
},
|
||||||
"ramda": {
|
|
||||||
"version": "0.25.0",
|
|
||||||
"resolved": "https://registry.npmjs.org/ramda/-/ramda-0.25.0.tgz",
|
|
||||||
"integrity": "sha512-GXpfrYVPwx3K7RQ6aYT8KPS8XViSXUVJT1ONhoKPE9VAleW42YE+U+8VEyGWt41EnEQW7gwecYJriTI0pKoecQ==",
|
|
||||||
"dev": true
|
|
||||||
},
|
|
||||||
"randomatic": {
|
"randomatic": {
|
||||||
"version": "1.1.6",
|
"version": "1.1.6",
|
||||||
"resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.6.tgz",
|
"resolved": "https://registry.npmjs.org/randomatic/-/randomatic-1.1.6.tgz",
|
||||||
|
|
167
package.json
167
package.json
|
@ -1,87 +1,84 @@
|
||||||
{
|
{
|
||||||
"name": "salix-app",
|
"name": "salix-app",
|
||||||
"version": "1.0.0",
|
"version": "1.0.0",
|
||||||
"author": "Verdnatura Levante SL",
|
"author": "Verdnatura Levante SL",
|
||||||
"description": "Salix application",
|
"description": "Salix application",
|
||||||
"license": "GPL-3.0",
|
"license": "GPL-3.0",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://git.verdnatura.es/salix"
|
"url": "https://git.verdnatura.es/salix"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@uirouter/angularjs": "^1.0.20",
|
"@uirouter/angularjs": "^1.0.20",
|
||||||
"angular": "^1.7.4",
|
"angular": "^1.7.4",
|
||||||
"angular-cookies": "^1.7.4",
|
"angular-cookies": "^1.7.4",
|
||||||
"angular-paging": "^2.2.2",
|
"angular-paging": "^2.2.2",
|
||||||
"angular-translate": "^2.18.1",
|
"angular-translate": "^2.18.1",
|
||||||
"angular-translate-loader-partial": "^2.18.1",
|
"angular-translate-loader-partial": "^2.18.1",
|
||||||
"flatpickr": "^4.5.2",
|
"flatpickr": "^4.5.2",
|
||||||
"fs-extra": "^5.0.0",
|
"fs-extra": "^5.0.0",
|
||||||
"js-yaml": "^3.12.0",
|
"js-yaml": "^3.12.0",
|
||||||
"material-design-lite": "^1.3.0",
|
"material-design-lite": "^1.3.0",
|
||||||
"mg-crud": "^1.1.2",
|
"mg-crud": "^1.1.2",
|
||||||
"npm": "^5.10.0",
|
"npm": "^5.10.0",
|
||||||
"oclazyload": "^0.6.3",
|
"oclazyload": "^0.6.3",
|
||||||
"require-yaml": "0.0.1",
|
"require-yaml": "0.0.1",
|
||||||
"validator": "^6.3.0"
|
"validator": "^6.3.0"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"angular-mocks": "^1.7.4",
|
"angular-mocks": "^1.7.4",
|
||||||
"assets-webpack-plugin": "^3.9.6",
|
"assets-webpack-plugin": "^3.9.6",
|
||||||
"babel": "^6.23.0",
|
"babel": "^6.23.0",
|
||||||
"babel-core": "^6.26.3",
|
"babel-core": "^6.26.3",
|
||||||
"babel-loader": "^7.1.5",
|
"babel-loader": "^7.1.5",
|
||||||
"babel-preset-es2015": "^6.24.1",
|
"babel-preset-es2015": "^6.24.1",
|
||||||
"cors": "^2.8.4",
|
"cors": "^2.8.4",
|
||||||
"css-loader": "^0.25.0",
|
"css-loader": "^0.25.0",
|
||||||
"del": "^2.2.2",
|
"del": "^2.2.2",
|
||||||
"eslint": "^5.7.0",
|
"eslint": "^5.7.0",
|
||||||
"eslint-config-angular": "^0.5.0",
|
"eslint-config-google": "^0.11.0",
|
||||||
"eslint-config-google": "^0.11.0",
|
"eslint-plugin-jasmine": "^2.10.1",
|
||||||
"eslint-config-loopback": "^12.0.0",
|
"fancy-log": "^1.3.2",
|
||||||
"eslint-config-xo": "^0.25.0",
|
"file-loader": "^1.1.11",
|
||||||
"eslint-plugin-jasmine": "^2.10.1",
|
"gulp": "^3.9.1",
|
||||||
"fancy-log": "^1.3.2",
|
"gulp-concat": "^2.6.1",
|
||||||
"file-loader": "^1.1.11",
|
"gulp-env": "^0.4.0",
|
||||||
"gulp": "^3.9.1",
|
"gulp-extend": "^0.2.0",
|
||||||
"gulp-concat": "^2.6.1",
|
"gulp-install": "^1.1.0",
|
||||||
"gulp-env": "^0.4.0",
|
"gulp-jasmine": "^3.0.0",
|
||||||
"gulp-extend": "^0.2.0",
|
"gulp-print": "^2.0.1",
|
||||||
"gulp-install": "^1.1.0",
|
"gulp-wrap": "^0.13.0",
|
||||||
"gulp-jasmine": "^3.0.0",
|
"gulp-yaml": "^1.0.1",
|
||||||
"gulp-print": "^2.0.1",
|
"html-loader": "^0.4.5",
|
||||||
"gulp-wrap": "^0.13.0",
|
"jasmine": "^2.99.0",
|
||||||
"gulp-yaml": "^1.0.1",
|
"jasmine-spec-reporter": "^4.2.1",
|
||||||
"html-loader": "^0.4.5",
|
"karma": "^1.7.1",
|
||||||
"jasmine": "^2.99.0",
|
"karma-chrome-launcher": "^2.2.0",
|
||||||
"jasmine-spec-reporter": "^4.2.1",
|
"karma-firefox-launcher": "^1.1.0",
|
||||||
"karma": "^1.7.1",
|
"karma-jasmine": "^1.1.2",
|
||||||
"karma-chrome-launcher": "^2.2.0",
|
"karma-sourcemap-loader": "^0.3.7",
|
||||||
"karma-firefox-launcher": "^1.1.0",
|
"karma-webpack": "^2.0.13",
|
||||||
"karma-jasmine": "^1.1.2",
|
"merge-stream": "^1.0.1",
|
||||||
"karma-sourcemap-loader": "^0.3.7",
|
"minimist": "^1.2.0",
|
||||||
"karma-webpack": "^2.0.13",
|
"mustache": "^2.3.2",
|
||||||
"merge-stream": "^1.0.1",
|
"mysql2": "^1.6.1",
|
||||||
"minimist": "^1.2.0",
|
"nightmare": "^3.0.1",
|
||||||
"mustache": "^2.3.2",
|
"node-sass": "^4.9.3",
|
||||||
"mysql2": "^1.6.1",
|
"nodemon": "^1.18.4",
|
||||||
"nightmare": "^3.0.1",
|
"plugin-error": "^1.0.1",
|
||||||
"node-sass": "^4.9.3",
|
"raw-loader": "*",
|
||||||
"nodemon": "^1.18.4",
|
"run-sequence": "^2.2.1",
|
||||||
"plugin-error": "^1.0.1",
|
"sass-loader": "^6.0.7",
|
||||||
"raw-loader": "*",
|
"style-loader": "^0.20.3",
|
||||||
"run-sequence": "^2.2.1",
|
"webpack": "^3.12.0",
|
||||||
"sass-loader": "^6.0.7",
|
"webpack-dev-server": "^2.11.3",
|
||||||
"style-loader": "^0.20.3",
|
"webpack-merge": "^4.1.4",
|
||||||
"webpack": "^3.12.0",
|
"yaml-loader": "^0.5.0"
|
||||||
"webpack-dev-server": "^2.11.3",
|
},
|
||||||
"webpack-merge": "^4.1.4",
|
"scripts": {
|
||||||
"yaml-loader": "^0.5.0"
|
"test": "nodemon -q services_tests.js -w services",
|
||||||
},
|
"dbtest": "nodemon -q db_tests.js -w services/db/tests",
|
||||||
"scripts": {
|
"lint": "eslint ./ --cache --ignore-pattern .gitignore",
|
||||||
"test": "nodemon -q services_tests.js -w services",
|
"services": "node --inspect ./node_modules/gulp/bin/gulp.js services"
|
||||||
"dbtest": "nodemon -q db_tests.js -w services/db/tests",
|
}
|
||||||
"lint": "eslint ./ --cache --ignore-pattern .gitignore",
|
|
||||||
"services": "node --inspect ./node_modules/gulp/bin/gulp.js services"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue