Skip to content
This repository was archived by the owner on Aug 8, 2025. It is now read-only.

Commit d1d65f5

Browse files
committed
upgrade kit-codemirror v0.1.0-alpha.1
1 parent 5a156f0 commit d1d65f5

File tree

7 files changed

+928
-741
lines changed

7 files changed

+928
-741
lines changed

.eslintrc

Lines changed: 148 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,148 @@
1+
{
2+
"parser": "@babel/eslint-parser",
3+
"root": true,
4+
"extends": [
5+
"eslint:recommended",
6+
"plugin:react-hooks/recommended"
7+
],
8+
"settings": {
9+
"react": {
10+
"version": "detect"
11+
},
12+
"linkComponents": [
13+
"Hyperlink",
14+
{
15+
"name": "Link",
16+
"linkAttribute": "href"
17+
}
18+
]
19+
},
20+
"plugins": [
21+
"react"
22+
],
23+
"env": {
24+
"browser": true,
25+
"es6": true
26+
},
27+
"globals": {
28+
"process": true
29+
},
30+
"rules": {
31+
"no-console": 0,
32+
"react/display-name": 0,
33+
"react/forbid-prop-types": 1,
34+
"react/jsx-boolean-value": 1,
35+
"react/jsx-closing-bracket-location": 0,
36+
"react/jsx-curly-spacing": 1,
37+
"react/jsx-handler-names": 0,
38+
"react/jsx-indent-props": 1,
39+
"react/jsx-key": 1,
40+
"react/jsx-no-bind": 0,
41+
"react/jsx-no-duplicate-props": 1,
42+
"react/jsx-no-undef": 1,
43+
"react/jsx-no-target-blank": 1,
44+
"react/jsx-pascal-case": 1,
45+
"react/jsx-uses-react": 1,
46+
"react/jsx-uses-vars": 1,
47+
"react/no-danger": 0,
48+
"react/no-did-mount-set-state": 0,
49+
"react/no-did-update-set-state": 0,
50+
"react/no-direct-mutation-state": 1,
51+
"react/no-multi-comp": 0,
52+
"react/no-set-state": 0,
53+
"react/no-unknown-property": 1,
54+
"react/prefer-es6-class": 1,
55+
"react/prop-types": 0,
56+
"react/react-in-jsx-scope": 1,
57+
"react/self-closing-comp": 1,
58+
"react/sort-comp": 0
59+
},
60+
"overrides": [
61+
{
62+
"files": [
63+
"**/*.ts",
64+
"**/*.d.ts",
65+
"**/*.tsx"
66+
],
67+
"env": {
68+
"browser": true,
69+
"es6": true,
70+
"node": false
71+
},
72+
"extends": [
73+
"eslint:recommended",
74+
"plugin:react/recommended",
75+
"plugin:@typescript-eslint/eslint-recommended",
76+
"plugin:@typescript-eslint/recommended",
77+
"plugin:react-hooks/recommended"
78+
],
79+
"globals": {
80+
"process": true
81+
},
82+
"parser": "@typescript-eslint/parser",
83+
"parserOptions": {
84+
"ecmaFeatures": {
85+
"jsx": true
86+
},
87+
//"ecmaVersion": 2018,
88+
//"sourceType": "module",
89+
"project": "./tsconfig.json"
90+
},
91+
"plugins": [
92+
"react",
93+
"@typescript-eslint"
94+
],
95+
"settings": {
96+
"react": {
97+
"version": "detect"
98+
}
99+
},
100+
"rules": {
101+
"@typescript-eslint/no-unnecessary-boolean-literal-compare": "error",
102+
"@typescript-eslint/no-empty-interface": "error",
103+
"@typescript-eslint/member-delimiter-style": [
104+
"error",
105+
{
106+
"multiline": {
107+
"delimiter": "none",
108+
"requireLast": false
109+
},
110+
"singleline": {
111+
"delimiter": "comma",
112+
"requireLast": false
113+
}
114+
}
115+
],
116+
"indent": [
117+
"error",
118+
4,
119+
{
120+
"SwitchCase": 1
121+
}
122+
],
123+
"no-trailing-spaces": "warn",
124+
"comma-dangle": [
125+
"error",
126+
{
127+
"arrays": "always-multiline",
128+
"objects": "always-multiline",
129+
"imports": "always-multiline",
130+
"exports": "always-multiline",
131+
"functions": "only-multiline"
132+
}
133+
],
134+
"react/prop-types": "off",
135+
"no-redundant-jsdoc": "off",
136+
"@typescript-eslint/ban-types": "off",
137+
"@typescript-eslint/ban-ts-comment": "off",
138+
"@typescript-eslint/no-inferrable-types": "off",
139+
"@typescript-eslint/no-explicit-any": "off",
140+
"@typescript-eslint/semi": [
141+
"warn",
142+
"never"
143+
],
144+
"semi-style": "off"
145+
}
146+
}
147+
]
148+
}

0 commit comments

Comments
 (0)