mirror of
https://github.com/laurent22/joplin.git
synced 2024-11-27 08:21:03 +02:00
71efff6827
* Update eslint config * Applied linter to lib * Applied eslint config to CliClient/app * Removed prettier due to https://github.com/prettier/prettier/pull/4765 * First pass on test units * Applied linter config to test units * Applied eslint config to clipper * Applied to plugin dir * Applied to root of ElectronClient * Applied on RN root * Applied on CLI root * Applied on Clipper root * Applied config to tools * test hook * test hook * test hook * Added pre-commit hook * Applied rule no-trailing-spaces * Make sure root packages are installed when installing sub-dir * Added doc
29 lines
601 B
JSON
29 lines
601 B
JSON
{
|
|
"name": "joplin",
|
|
"version": "1.0.0",
|
|
"description": "Joplin root package for linting",
|
|
"scripts": {
|
|
"linter": "./node_modules/.bin/eslint --fix --ext .js --ext .jsx"
|
|
},
|
|
"husky": {
|
|
"hooks": {
|
|
"pre-commit": "lint-staged"
|
|
}
|
|
},
|
|
"lint-staged": {
|
|
"*.{js,jsx}": "npm run linter"
|
|
},
|
|
"repository": {
|
|
"type": "git",
|
|
"url": "git+https://github.com/laurent22/joplin.git"
|
|
},
|
|
"license": "MIT",
|
|
"devDependencies": {
|
|
"eslint": "^6.1.0",
|
|
"eslint-plugin-react": "^7.14.3",
|
|
"husky": "^3.0.2",
|
|
"lint-staged": "^9.2.1"
|
|
},
|
|
"dependencies": {}
|
|
}
|