#750 configurar reglas de eslint para todos los equipos del proyecto

This commit is contained in:
Carlos Jimenez 2018-10-25 14:36:50 +02:00
parent faa7ca154a
commit e953d04d80
3 changed files with 83 additions and 122 deletions

View File

@ -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"

36
package-lock.json generated
View File

@ -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",

View File

@ -36,10 +36,7 @@
"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-config-loopback": "^12.0.0",
"eslint-config-xo": "^0.25.0",
"eslint-plugin-jasmine": "^2.10.1", "eslint-plugin-jasmine": "^2.10.1",
"fancy-log": "^1.3.2", "fancy-log": "^1.3.2",
"file-loader": "^1.1.11", "file-loader": "^1.1.11",