lintry

init

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 +};
1 +{
2 + "esversion": 6
3 +}
...\ No newline at end of file ...\ No newline at end of file
1 +{
2 + "compilerOptions": {
3 + "target": "es7"
4 + },
5 + "exclude": [
6 + "node_modules"
7 + ]
8 +}
...\ No newline at end of file ...\ No newline at end of file
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 +}
This diff could not be displayed because it is too large.