Showing
5 changed files
with
61 additions
and
0 deletions
.eslintrc.js
0 → 100644
| 1 | +module.exports = { | ||
| 2 | + "env": { | ||
| 3 | + "es6": true, | ||
| 4 | + "node": true | ||
| 5 | + }, | ||
| 6 | + "extends": "eslint:recommended", | ||
| 7 | + "parserOptions": { | ||
| 8 | + "ecmaVersion": 2017, | ||
| 9 | + "sourceType": "module" | ||
| 10 | + }, | ||
| 11 | + "rules": { | ||
| 12 | + // "indent": [ | ||
| 13 | + // "warn", | ||
| 14 | + // 4 | ||
| 15 | + // ], | ||
| 16 | + "linebreak-style": "off", | ||
| 17 | + "quotes": "off", | ||
| 18 | + "semi": [ | ||
| 19 | + "off", | ||
| 20 | + "always" | ||
| 21 | + ], | ||
| 22 | + "no-console": [ | ||
| 23 | + "error", { allow: ["info", "warn", "error"]} | ||
| 24 | + ], | ||
| 25 | + "no-unused-vars": [ | ||
| 26 | + "warn", | ||
| 27 | + { "vars": "all", "args": "after-used", "ignoreRestSiblings": false } | ||
| 28 | + ], | ||
| 29 | + "no-constant-condition": [ | ||
| 30 | + "warn" | ||
| 31 | + ], | ||
| 32 | + "no-control-regex": "off" | ||
| 33 | + } | ||
| 34 | +}; |
.jshintrc
0 → 100644
jsconfig.json
0 → 100644
package.json
0 → 100644
| 1 | +{ | ||
| 2 | + "name": "leetcode-test", | ||
| 3 | + "version": "1.0.0", | ||
| 4 | + "description": "leetcode-cn.com上的题库代码实现", | ||
| 5 | + "main": ".eslintrc.js", | ||
| 6 | + "scripts": { | ||
| 7 | + "test": "echo \"Error: no test specified\" && exit 1" | ||
| 8 | + }, | ||
| 9 | + "repository": { | ||
| 10 | + "type": "git", | ||
| 11 | + "url": "git@gitlab.kmlab.com:lintry/leetcode-test.git" | ||
| 12 | + }, | ||
| 13 | + "keywords": [], | ||
| 14 | + "author": "", | ||
| 15 | + "license": "MIT" | ||
| 16 | +} |
readme.md
0 → 100644
This diff could not be displayed because it is too large.
-
Please register or login to post a comment