1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00
This commit is contained in:
Laurent Cozic 2019-07-29 15:58:17 +02:00
parent 86dc72b204
commit 0b9078d034
3 changed files with 43 additions and 0 deletions

View File

@ -22,9 +22,12 @@ module.exports = {
"no-constant-condition": 0,
"no-prototype-builtins": 0,
"prettier/prettier": "error",
// Uncomment this to automatically remove unused requires:
// "autofix/no-unused-vars": "error",
},
"plugins": [
"react",
"prettier",
"autofix",
],
};

39
package-lock.json generated
View File

@ -314,6 +314,33 @@
"get-stdin": "^6.0.0"
}
},
"eslint-plugin-autofix": {
"version": "0.0.8",
"resolved": "https://registry.npmjs.org/eslint-plugin-autofix/-/eslint-plugin-autofix-0.0.8.tgz",
"integrity": "sha512-UJrI8VFrmLiANrxBkUOgRhzuR9PIHbjsCfwsql+rDz16H3Qri0HsbYXFnTDxdis0bg6WpyFkBLLSiQ6x/w065g==",
"dev": true,
"requires": {
"eslint-rule-composer": "^0.3.0",
"espree": "^5.0.1",
"esutils": "^2.0.2",
"lodash": "^4.17.11",
"string-similarity": "^3.0.0",
"v8-compile-cache": "^2.0.3"
},
"dependencies": {
"espree": {
"version": "5.0.1",
"resolved": "https://registry.npmjs.org/espree/-/espree-5.0.1.tgz",
"integrity": "sha512-qWAZcWh4XE/RwzLJejfcofscgMc9CamR6Tn1+XRXNzrvUSSbiAjGOI/fggztjIi7y9VLPqnICMIPiGyr8JaZ0A==",
"dev": true,
"requires": {
"acorn": "^6.0.7",
"acorn-jsx": "^5.0.0",
"eslint-visitor-keys": "^1.0.0"
}
}
}
},
"eslint-plugin-prettier": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-prettier/-/eslint-plugin-prettier-3.1.0.tgz",
@ -351,6 +378,12 @@
}
}
},
"eslint-rule-composer": {
"version": "0.3.0",
"resolved": "https://registry.npmjs.org/eslint-rule-composer/-/eslint-rule-composer-0.3.0.tgz",
"integrity": "sha512-bt+Sh8CtDmn2OajxvNO+BX7Wn4CIWMpTRm3MaiKPCQcnnlm0CS2mhui6QaoeQugs+3Kj2ESKEEGJUdVafwhiCg==",
"dev": true
},
"eslint-scope": {
"version": "5.0.0",
"resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz",
@ -1098,6 +1131,12 @@
"integrity": "sha1-BOaSb2YolTVPPdAVIDYzuFcpfiw=",
"dev": true
},
"string-similarity": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/string-similarity/-/string-similarity-3.0.0.tgz",
"integrity": "sha512-7kS7LyTp56OqOI2BDWQNVnLX/rCxIQn+/5M0op1WV6P8Xx6TZNdajpuqQdiJ7Xx+p1C5CsWMvdiBp9ApMhxzEQ==",
"dev": true
},
"string-width": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/string-width/-/string-width-2.1.1.tgz",

View File

@ -13,6 +13,7 @@
"devDependencies": {
"eslint": "^6.1.0",
"eslint-config-prettier": "^6.0.0",
"eslint-plugin-autofix": "0.0.8",
"eslint-plugin-prettier": "^3.1.0",
"eslint-plugin-react": "^7.14.3",
"prettier": "1.18.2"