1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-11-24 08:12:24 +02:00

Tweaked linter config

This commit is contained in:
Laurent Cozic 2019-07-29 14:10:07 +02:00
parent 88f04509ee
commit 95a1f40404
2 changed files with 4 additions and 1 deletions

View File

@ -18,7 +18,7 @@ module.exports = {
'rules': {
"react/jsx-uses-react": "error",
"react/jsx-uses-vars": "error",
"no-unused-vars": ["error", { "argsIgnorePattern": "event" }],
"no-unused-vars": ["error", { "argsIgnorePattern": "event|reject|resolve|prevState|snapshot|prevProps" }],
"no-constant-condition": 0,
"no-prototype-builtins": 0,
"prettier/prettier": "error",

View File

@ -2,6 +2,9 @@
"name": "joplin",
"version": "1.0.0",
"description": "[![Donate](https://joplinapp.org/images/badges/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=E8JMYD2LQ8MMA&lc=GB&item_name=Joplin+Development&currency_code=EUR&bn=PP%2dDonationsBF%3abtn_donateCC_LG%2egif%3aNonHosted) [![Become a patron](https://joplinapp.org/images/badges/Patreon-Badge.svg)](https://www.patreon.com/joplin)",
"scripts": {
"linter": "./node_modules/.bin/eslint --fix --ext .js --ext .jsx"
},
"repository": {
"type": "git",
"url": "git+https://github.com/laurent22/joplin.git"