Merge branch 'master' of https://github.com/keeweb/keeweb-plugins
This commit is contained in:
commit
5ee67d5cdf
|
@ -0,0 +1,37 @@
|
|||
{
|
||||
"extends": "standard",
|
||||
"rules": {
|
||||
"indent": ["error", 4, { "SwitchCase": 1 }],
|
||||
"semi": ["error", "always"],
|
||||
"one-var": "off",
|
||||
"space-before-function-paren": "off",
|
||||
"no-throw-literal": "off",
|
||||
"camelcase": ["error", { "properties": "always" }],
|
||||
"no-console": "error",
|
||||
"no-alert": "error",
|
||||
"no-debugger": "error",
|
||||
"prefer-arrow-callback": "error",
|
||||
"object-property-newline": "off",
|
||||
"no-useless-escape": "off",
|
||||
"no-var": "error",
|
||||
"prefer-const": "error",
|
||||
"no-unused-expressions": "error",
|
||||
"strict": ["error", "never"],
|
||||
"no-mixed-operators": "off",
|
||||
"prefer-promise-reject-errors": "off",
|
||||
"standard/no-callback-literal": "off"
|
||||
},
|
||||
"parserOptions": {
|
||||
"sourceType": "module",
|
||||
"ecmaFeatures": {
|
||||
"impliedStrict": true
|
||||
}
|
||||
},
|
||||
"globals": {
|
||||
"_": true,
|
||||
"$": true
|
||||
},
|
||||
"env": {
|
||||
"browser": true
|
||||
}
|
||||
}
|
|
@ -0,0 +1,7 @@
|
|||
language: node_js
|
||||
node_js:
|
||||
- stable
|
||||
install:
|
||||
- npm install
|
||||
script:
|
||||
- npm run lint
|
File diff suppressed because it is too large
Load Diff
|
@ -8,6 +8,7 @@
|
|||
},
|
||||
"scripts": {
|
||||
"start": "node scripts/start.js",
|
||||
"lint": "eslint scripts docs/plugins",
|
||||
"update": "node scripts/update-plugins.js",
|
||||
"translations": "node scripts/download-translations.js",
|
||||
"watch": "run() { node ../keeweb/plugins/keeweb-plugin/keeweb-plugin.js watch docs/plugins/$1/ --bump-version --signer-module=../../../keeweb-plugins/scripts/sign; }; run",
|
||||
|
@ -24,6 +25,14 @@
|
|||
},
|
||||
"homepage": "https://github.com/keeweb/keeweb-plugins#readme",
|
||||
"devDependencies": {
|
||||
"eslint": "^4.19.0",
|
||||
"eslint-config-standard": "^11.0.0",
|
||||
"eslint-plugin-import": "^2.9.0",
|
||||
"eslint-plugin-node": "^6.0.1",
|
||||
"eslint-plugin-promise": "^3.7.0",
|
||||
"eslint-plugin-standard": "^3.0.1"
|
||||
},
|
||||
"optionalDependencies": {
|
||||
"keytar": "^4.0.3",
|
||||
"pkcs15-smartcard-sign": "^1.0.0"
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue