@mrpelz/boilerplate-common 12.5.1 → 13.0.0
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/eslint.config.js +21 -21
- package/package.json +1 -1
- package/dist/main.d.ts +0 -2
- package/dist/main.d.ts.map +0 -1
- package/dist/main.js +0 -3
- package/dist/main.js.map +0 -1
package/eslint.config.js
CHANGED
|
@@ -3,8 +3,8 @@ import stylisticTs from '@stylistic/eslint-plugin-ts';
|
|
|
3
3
|
import typescriptPlugin from '@typescript-eslint/eslint-plugin';
|
|
4
4
|
// @ts-ignore
|
|
5
5
|
import typescriptParser from '@typescript-eslint/parser';
|
|
6
|
-
// @ts-ignore
|
|
7
|
-
import importPlugin from 'eslint-plugin-import';
|
|
6
|
+
// // @ts-ignore
|
|
7
|
+
// import importPlugin from 'eslint-plugin-import';
|
|
8
8
|
import prettierPlugin from 'eslint-plugin-prettier';
|
|
9
9
|
// @ts-ignore
|
|
10
10
|
import simpleImportSortPlugin from 'eslint-plugin-simple-import-sort';
|
|
@@ -227,22 +227,22 @@ export const rules = {
|
|
|
227
227
|
'handle-callback-err': 'error',
|
|
228
228
|
'id-blacklist': 'error',
|
|
229
229
|
'id-match': 'error',
|
|
230
|
-
'import/extensions': [
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
],
|
|
242
|
-
'import/no-commonjs': 'error',
|
|
243
|
-
'import/no-duplicates': 'error',
|
|
244
|
-
'import/no-named-as-default': 'warn',
|
|
245
|
-
'import/no-named-as-default-member': 'warn',
|
|
230
|
+
// 'import/extensions': [
|
|
231
|
+
// 'error',
|
|
232
|
+
// 'ignorePackages',
|
|
233
|
+
// {
|
|
234
|
+
// cjs: 'never',
|
|
235
|
+
// js: 'always',
|
|
236
|
+
// jsx: 'never',
|
|
237
|
+
// mjs: 'never',
|
|
238
|
+
// ts: 'never',
|
|
239
|
+
// tsx: 'never',
|
|
240
|
+
// },
|
|
241
|
+
// ],
|
|
242
|
+
// 'import/no-commonjs': 'error',
|
|
243
|
+
// 'import/no-duplicates': 'error',
|
|
244
|
+
// 'import/no-named-as-default': 'warn',
|
|
245
|
+
// 'import/no-named-as-default-member': 'warn',
|
|
246
246
|
'jsx-quotes': 'error',
|
|
247
247
|
'key-spacing': 'error',
|
|
248
248
|
'keyword-spacing': [
|
|
@@ -458,7 +458,7 @@ export const plugins = {
|
|
|
458
458
|
'@stylistic/ts': stylisticTs,
|
|
459
459
|
// @ts-ignore
|
|
460
460
|
'@typescript-eslint': typescriptPlugin,
|
|
461
|
-
import: importPlugin,
|
|
461
|
+
// import: importPlugin,
|
|
462
462
|
prettier: prettierPlugin,
|
|
463
463
|
'simple-import-sort': simpleImportSortPlugin,
|
|
464
464
|
unicorn: { rules: pluginUnicorn.rules },
|
|
@@ -481,8 +481,8 @@ export const configMeta = {
|
|
|
481
481
|
...rules,
|
|
482
482
|
'@typescript-eslint/ban-ts-comment': 'off',
|
|
483
483
|
'@typescript-eslint/naming-convention': 'off',
|
|
484
|
-
'import/no-named-as-default': 'off',
|
|
485
|
-
'import/no-named-as-default-member': 'off',
|
|
484
|
+
// 'import/no-named-as-default': 'off',
|
|
485
|
+
// 'import/no-named-as-default-member': 'off',
|
|
486
486
|
'unicorn/prefer-export-from': 'off',
|
|
487
487
|
},
|
|
488
488
|
settings: {
|
package/package.json
CHANGED
package/dist/main.d.ts
DELETED
package/dist/main.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main.d.ts","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAEA,eAAO,MAAM,GAAG,MAAO,MAAM,KAAK,MAAM,KAAG,MAAe,CAAC"}
|
package/dist/main.js
DELETED
package/dist/main.js.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"main.js","sourceRoot":"","sources":["../src/main.ts"],"names":[],"mappings":"AAAA,OAAO;AAEP,MAAM,CAAC,MAAM,GAAG,GAAG,CAAC,CAAS,EAAE,CAAS,EAAU,EAAE,CAAC,CAAC,GAAG,CAAC,CAAC"}
|