@aiou/eslint-config 1.0.0 → 1.0.2
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 +2 -3
- package/dist/index.mjs +2 -3
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -4155,8 +4155,6 @@ const typescript = () => {
|
|
|
4155
4155
|
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
|
|
4156
4156
|
"@typescript-eslint/prefer-ts-expect-error": "warn",
|
|
4157
4157
|
"@typescript-eslint/default-param-last": "error",
|
|
4158
|
-
// Perfer reduce<T, S>
|
|
4159
|
-
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
|
4160
4158
|
// Sort type S = A | B
|
|
4161
4159
|
"@typescript-eslint/sort-type-constituents": "error",
|
|
4162
4160
|
"@typescript-eslint/unbound-method": "off",
|
|
@@ -4170,7 +4168,8 @@ const typescript = () => {
|
|
|
4170
4168
|
*/
|
|
4171
4169
|
"etc/no-const-enum": "error",
|
|
4172
4170
|
"etc/no-enum": "error",
|
|
4173
|
-
|
|
4171
|
+
// required tsconfig.json
|
|
4172
|
+
// 'etc/no-misused-generics': 'error',
|
|
4174
4173
|
// Overrides JS
|
|
4175
4174
|
// no-spaced-func alert -- https://eslint.org/docs/latest/rules/no-spaced-func
|
|
4176
4175
|
"func-call-spacing": "off",
|
package/dist/index.mjs
CHANGED
|
@@ -4153,8 +4153,6 @@ const typescript = () => {
|
|
|
4153
4153
|
"@typescript-eslint/consistent-type-definitions": ["error", "interface"],
|
|
4154
4154
|
"@typescript-eslint/prefer-ts-expect-error": "warn",
|
|
4155
4155
|
"@typescript-eslint/default-param-last": "error",
|
|
4156
|
-
// Perfer reduce<T, S>
|
|
4157
|
-
"@typescript-eslint/prefer-reduce-type-parameter": "error",
|
|
4158
4156
|
// Sort type S = A | B
|
|
4159
4157
|
"@typescript-eslint/sort-type-constituents": "error",
|
|
4160
4158
|
"@typescript-eslint/unbound-method": "off",
|
|
@@ -4168,7 +4166,8 @@ const typescript = () => {
|
|
|
4168
4166
|
*/
|
|
4169
4167
|
"etc/no-const-enum": "error",
|
|
4170
4168
|
"etc/no-enum": "error",
|
|
4171
|
-
|
|
4169
|
+
// required tsconfig.json
|
|
4170
|
+
// 'etc/no-misused-generics': 'error',
|
|
4172
4171
|
// Overrides JS
|
|
4173
4172
|
// no-spaced-func alert -- https://eslint.org/docs/latest/rules/no-spaced-func
|
|
4174
4173
|
"func-call-spacing": "off",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aiou/eslint-config",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
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.
|
|
58
|
+
"@aiou/eslint-ignore": "0.5.0",
|
|
59
59
|
"@aiou/eslint-plugin-progress": "0.3.1"
|
|
60
60
|
},
|
|
61
61
|
"devDependencies": {
|