@aiou/eslint-config 1.0.5 → 1.0.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +6 -1
- package/dist/index.mjs +6 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -149,7 +149,9 @@ const imports = () => {
|
|
|
149
149
|
{
|
|
150
150
|
files: [
|
|
151
151
|
`**/*config*.${GLOB_SCRIPT_EXT}`,
|
|
152
|
-
`**/{pages,routes}/**/*.${GLOB_SCRIPT_EXT}`,
|
|
152
|
+
`**/{app,pages,routes}/**/*.${GLOB_SCRIPT_EXT}`,
|
|
153
|
+
`**/App*.${GLOB_SCRIPT_EXT}`,
|
|
154
|
+
`**/Document.${GLOB_SCRIPT_EXT}`,
|
|
153
155
|
"**/{vite,esbuild,rollup,webpack,rspack}.ts",
|
|
154
156
|
GLOB_DTS
|
|
155
157
|
],
|
|
@@ -4184,6 +4186,9 @@ const typescript = () => {
|
|
|
4184
4186
|
// required tsconfig.json
|
|
4185
4187
|
// 'etc/no-misused-generics': 'error',
|
|
4186
4188
|
// Overrides JS
|
|
4189
|
+
// original no-undef not compatiable with typescript
|
|
4190
|
+
// refs: https://typescript-eslint.io/linting/troubleshooting/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
|
|
4191
|
+
"no-undef": "off",
|
|
4187
4192
|
// no-spaced-func alert -- https://eslint.org/docs/latest/rules/no-spaced-func
|
|
4188
4193
|
"func-call-spacing": "off",
|
|
4189
4194
|
"@typescript-eslint/func-call-spacing": ["error", "never"],
|
package/dist/index.mjs
CHANGED
|
@@ -147,7 +147,9 @@ const imports = () => {
|
|
|
147
147
|
{
|
|
148
148
|
files: [
|
|
149
149
|
`**/*config*.${GLOB_SCRIPT_EXT}`,
|
|
150
|
-
`**/{pages,routes}/**/*.${GLOB_SCRIPT_EXT}`,
|
|
150
|
+
`**/{app,pages,routes}/**/*.${GLOB_SCRIPT_EXT}`,
|
|
151
|
+
`**/App*.${GLOB_SCRIPT_EXT}`,
|
|
152
|
+
`**/Document.${GLOB_SCRIPT_EXT}`,
|
|
151
153
|
"**/{vite,esbuild,rollup,webpack,rspack}.ts",
|
|
152
154
|
GLOB_DTS
|
|
153
155
|
],
|
|
@@ -4182,6 +4184,9 @@ const typescript = () => {
|
|
|
4182
4184
|
// required tsconfig.json
|
|
4183
4185
|
// 'etc/no-misused-generics': 'error',
|
|
4184
4186
|
// Overrides JS
|
|
4187
|
+
// original no-undef not compatiable with typescript
|
|
4188
|
+
// refs: https://typescript-eslint.io/linting/troubleshooting/#i-get-errors-from-the-no-undef-rule-about-global-variables-not-being-defined-even-though-there-are-no-typescript-errors
|
|
4189
|
+
"no-undef": "off",
|
|
4185
4190
|
// no-spaced-func alert -- https://eslint.org/docs/latest/rules/no-spaced-func
|
|
4186
4191
|
"func-call-spacing": "off",
|
|
4187
4192
|
"@typescript-eslint/func-call-spacing": ["error", "never"],
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiou/eslint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
4
4
|
"description": "eslint config for aiou template",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -55,7 +55,7 @@
|
|
|
55
55
|
"jsonc-eslint-parser": "^2.4.0",
|
|
56
56
|
"local-pkg": "^0.4.3",
|
|
57
57
|
"yaml-eslint-parser": "^1.2.2",
|
|
58
|
-
"@aiou/eslint-ignore": "0.5.
|
|
58
|
+
"@aiou/eslint-ignore": "0.5.1",
|
|
59
59
|
"@aiou/eslint-plugin-progress": "0.3.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|