@tsmodule/tsmodule 41.27.0 → 41.29.0
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/bin.js +21 -18
- package/dist/{chunk-SXU4PYPZ.js → chunk-UNZJKJGP.js} +1 -1
- package/dist/chunk-WPZUH6WI.js +79 -0
- package/dist/index.js +1 -1
- package/dist/loader/index.js +1 -1
- package/package.json +8 -9
- package/templates/default/.eslintrc.yml +15 -0
- package/templates/default/src/index.ts +2 -3
- package/templates/default/test/tsconfig.json +31 -0
- package/templates/react/.eslintrc.yml +22 -0
- package/templates/react/next.config.js +3 -16
- package/templates/react/{postcss.config.js → postcss.config.cjs} +0 -0
- package/templates/react/src/components/Card/index.tsx +4 -4
- package/templates/react/src/components/CardGrid/index.tsx +3 -3
- package/templates/react/src/components/Footer/index.tsx +4 -4
- package/templates/react/src/components/GetStarted/index.tsx +3 -3
- package/templates/react/src/components/Welcome/index.tsx +2 -2
- package/templates/react/src/components/index.ts +4 -4
- package/templates/react/src/index.ts +1 -1
- package/templates/react/src/pages/_app.tsx +6 -6
- package/templates/react/src/pages/api/hello.ts +5 -5
- package/templates/react/src/pages/index.tsx +7 -7
- package/templates/react/{tailwind.config.js → tailwind.config.cjs} +0 -0
- package/dist/chunk-MASZ6UKV.js +0 -61
- package/templates/default/.eslintrc +0 -41
- package/templates/default/tsconfig.export.json +0 -6
- package/templates/react/.eslintrc +0 -43
- package/templates/react/tsconfig.export.json +0 -6
@@ -1,41 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"extends": [
|
3
|
-
"plugin:@typescript-eslint/recommended"
|
4
|
-
],
|
5
|
-
"parser": "@typescript-eslint/parser",
|
6
|
-
"plugins": ["@typescript-eslint"],
|
7
|
-
"rules": {
|
8
|
-
|
9
|
-
"no-console": "error",
|
10
|
-
"no-trailing-spaces": "error",
|
11
|
-
"max-len": [1, 80, 2, {
|
12
|
-
"ignorePattern": "^import\\s.+\\sfrom\\s.+;$",
|
13
|
-
"ignoreUrls": true,
|
14
|
-
"ignoreStrings": true,
|
15
|
-
"ignoreTemplateLiterals": true,
|
16
|
-
"ignoreRegExpLiterals": true
|
17
|
-
}],
|
18
|
-
|
19
|
-
"@typescript-eslint/type-annotation-spacing": ["error"],
|
20
|
-
|
21
|
-
"@typescript-eslint/ban-ts-comment": [
|
22
|
-
"error",
|
23
|
-
{
|
24
|
-
"ts-nocheck": "allow-with-description",
|
25
|
-
"ts-ignore": "allow-with-description"
|
26
|
-
}
|
27
|
-
],
|
28
|
-
|
29
|
-
"indent": "off",
|
30
|
-
"@typescript-eslint/indent": ["error", 2],
|
31
|
-
|
32
|
-
"semi": "off",
|
33
|
-
"@typescript-eslint/semi": ["error", "always"],
|
34
|
-
|
35
|
-
"quotes": "off",
|
36
|
-
"@typescript-eslint/quotes": ["error", "double"],
|
37
|
-
|
38
|
-
"object-curly-spacing": "off",
|
39
|
-
"@typescript-eslint/object-curly-spacing": ["error", "always"]
|
40
|
-
}
|
41
|
-
}
|
@@ -1,43 +0,0 @@
|
|
1
|
-
{
|
2
|
-
"extends": [
|
3
|
-
"plugin:@typescript-eslint/recommended",
|
4
|
-
"next",
|
5
|
-
"next/core-web-vitals"
|
6
|
-
],
|
7
|
-
"parser": "@typescript-eslint/parser",
|
8
|
-
"plugins": ["@typescript-eslint"],
|
9
|
-
"rules": {
|
10
|
-
|
11
|
-
"no-console": "error",
|
12
|
-
"no-trailing-spaces": "error",
|
13
|
-
"max-len": [1, 80, 2, {
|
14
|
-
"ignorePattern": "^import\\s.+\\sfrom\\s.+;$",
|
15
|
-
"ignoreUrls": true,
|
16
|
-
"ignoreStrings": true,
|
17
|
-
"ignoreTemplateLiterals": true,
|
18
|
-
"ignoreRegExpLiterals": true
|
19
|
-
}],
|
20
|
-
|
21
|
-
"@typescript-eslint/type-annotation-spacing": ["error"],
|
22
|
-
|
23
|
-
"@typescript-eslint/ban-ts-comment": [
|
24
|
-
"error",
|
25
|
-
{
|
26
|
-
"ts-nocheck": "allow-with-description",
|
27
|
-
"ts-ignore": "allow-with-description"
|
28
|
-
}
|
29
|
-
],
|
30
|
-
|
31
|
-
"indent": "off",
|
32
|
-
"@typescript-eslint/indent": ["error", 2],
|
33
|
-
|
34
|
-
"semi": "off",
|
35
|
-
"@typescript-eslint/semi": ["error", "always"],
|
36
|
-
|
37
|
-
"quotes": "off",
|
38
|
-
"@typescript-eslint/quotes": ["error", "double"],
|
39
|
-
|
40
|
-
"object-curly-spacing": "off",
|
41
|
-
"@typescript-eslint/object-curly-spacing": ["error", "always"]
|
42
|
-
}
|
43
|
-
}
|