-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathpackage.json
80 lines (79 loc) · 2.3 KB
/
package.json
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
{
"name": "markup2", "version": "0.6.2",
"author": 12, "contributors": ["y", "cherry", "nicole"],
"description": "sbs/qcs markup parser",
"keywords": ["markup", "12y2", "12y", "bbcode"],
"license": "only my friends are allowed to use this",
"repository": "github:12Me21/markup2",
"eslintConfig": {
"root": true,
"ignorePatterns": [
"*",
"!parse.js", "!langs.js", "!legacy.js", "!render.js",
"!helpers.js", "!runtime.js", "!static-render.js"
],
"env": {
"shared-node-browser": true
},
"parserOptions": {
"ecmaVersion": 2015,
"sourceType": "script",
"//": "alternatively, ecmaVersion=2022 and sourceType=module"
},
"globals": {
"module": "readonly",
"Symbol": "readonly"
},
"overrides": [{
"files": ["render.js", "helpers.js", "runtime.js"],
"env": {"browser": true}
}, {
"files": ["helpers.js"],
"globals": {
"Markup_Langs": "readonly",
"Markup_12y2": "readonly",
"Markup_Legacy": "readonly",
"Markup_Render_Dom": "readonly"
}
}],
"extends": "eslint:recommended",
"rules": {
"semi": ["warn", "never"],
"semi-style": ["warn", "first"],
"no-extra-semi": ["off"],
"no-irregular-whitespace": ["off"],
"indent": ["error", "tab"],
"no-mixed-spaces-and-tabs": ["error", "smart-tabs"],
"linebreak-style": ["error"],
"no-unreachable": ["off"],
"no-cond-assign": ["off"],
"no-unused-vars": ["error", {"args": "none"}],
"no-empty": ["off"],
"no-constant-condition": ["off"],
"no-unsafe-finally": ["off"],
"no-var": ["error"],
"array-bracket-newline": ["warn", "consistent"],
"array-bracket-spacing": ["warn", "never"],
"block-spacing": ["warn", "always"],
"comma-dangle": ["warn", {
"arrays": "always-multiline",
"objects": "always-multiline",
"functions": "never"
}],
"no-useless-escape": ["off"],
"comma-spacing": ["warn"],
"comma-style": ["warn"],
"computed-property-spacing": ["warn"],
"dot-location": ["error", "property"],
"func-call-spacing": ["error"],
"keyword-spacing": ["warn"],
"max-len": ["error", {"code": 400}],
"new-parens": ["warn"],
"no-extra-parens": ["warn"],
"no-trailing-spaces": ["warn", {"skipBlankLines": true}],
"no-whitespace-before-property": ["error"],
"object-curly-newline": ["warn"],
"operator-linebreak": ["error"]
}
},
"": 0}