idea-aws 3.6.2 → 3.7.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/.eslintrc.js CHANGED
@@ -1,140 +1,16 @@
1
1
  module.exports = {
2
- overrides: [
3
- {
4
- files: ['*.ts'],
5
- env: {
6
- browser: true,
7
- es6: true,
8
- node: true
9
- },
10
- extends: [
11
- 'eslint:recommended',
12
- 'plugin:@typescript-eslint/recommended',
13
- 'plugin:@typescript-eslint/recommended-requiring-type-checking'
14
- ],
15
- parser: '@typescript-eslint/parser',
16
- parserOptions: {
17
- project: 'tsconfig.json',
18
- sourceType: 'module'
19
- },
20
- plugins: ['@typescript-eslint', 'eslint-plugin-import', 'eslint-plugin-jsdoc', 'eslint-plugin-prefer-arrow'],
21
- rules: {
22
- '@typescript-eslint/adjacent-overload-signatures': 'error',
23
- '@typescript-eslint/array-type': 'error',
24
- '@typescript-eslint/ban-ts-comment': 'off',
25
- '@typescript-eslint/ban-types': [
26
- 'error',
27
- {
28
- types: {
29
- Object: {
30
- message: 'Avoid using the `Object` type. Did you mean `object`?'
31
- },
32
- Function: {
33
- message: 'Avoid using the `Function` type. Prefer a specific function type, like `() => void`.'
34
- },
35
- Boolean: {
36
- message: 'Avoid using the `Boolean` type. Did you mean `boolean`?'
37
- },
38
- Number: {
39
- message: 'Avoid using the `Number` type. Did you mean `number`?'
40
- },
41
- String: {
42
- message: 'Avoid using the `String` type. Did you mean `string`?'
43
- },
44
- Symbol: {
45
- message: 'Avoid using the `Symbol` type. Did you mean `symbol`?'
46
- }
47
- }
48
- }
49
- ],
50
- '@typescript-eslint/consistent-type-assertions': 'error',
51
- '@typescript-eslint/consistent-type-definitions': 'error',
52
- '@typescript-eslint/explicit-module-boundary-types': 'off',
53
- '@typescript-eslint/dot-notation': 'off',
54
- '@typescript-eslint/member-delimiter-style': [
55
- 'error',
56
- {
57
- multiline: { delimiter: 'semi', requireLast: true },
58
- singleline: { delimiter: 'semi', requireLast: false }
59
- }
60
- ],
61
- '@typescript-eslint/member-ordering': 'off',
62
- '@typescript-eslint/no-empty-function': 'off',
63
- '@typescript-eslint/no-empty-interface': 'error',
64
- '@typescript-eslint/no-explicit-any': 'off',
65
- '@typescript-eslint/no-floating-promises': 'off',
66
- '@typescript-eslint/no-misused-promises': 'off',
67
- '@typescript-eslint/no-inferrable-types': ['error', { ignoreParameters: true }],
68
- '@typescript-eslint/no-misused-new': 'error',
69
- '@typescript-eslint/no-namespace': 'error',
70
- '@typescript-eslint/no-non-null-assertion': 'error',
71
- '@typescript-eslint/no-parameter-properties': 'off',
72
- '@typescript-eslint/no-unused-expressions': 'error',
73
- '@typescript-eslint/no-unsafe-assignment': 'off',
74
- '@typescript-eslint/no-unsafe-member-access': 'off',
75
- '@typescript-eslint/no-unsafe-call': 'off',
76
- '@typescript-eslint/no-unsafe-return': 'off',
77
- '@typescript-eslint/no-use-before-define': 'off',
78
- '@typescript-eslint/no-var-requires': 'off',
79
- '@typescript-eslint/prefer-for-of': 'error',
80
- '@typescript-eslint/prefer-function-type': 'error',
81
- '@typescript-eslint/prefer-namespace-keyword': 'error',
82
- '@typescript-eslint/quotes': ['error', 'single', { avoidEscape: true }],
83
- '@typescript-eslint/semi': ['error', 'always', { omitLastInOneLineBlock: true }],
84
- '@typescript-eslint/triple-slash-reference': [
85
- 'error',
86
- { path: 'always', types: 'prefer-import', lib: 'always' }
87
- ],
88
- '@typescript-eslint/type-annotation-spacing': 'error',
89
- '@typescript-eslint/unified-signatures': 'error',
90
- 'arrow-body-style': 'error',
91
- 'arrow-parens': ['off', 'always'],
92
- 'brace-style': ['error', '1tbs'],
93
- 'comma-dangle': ['error', 'never'],
94
- complexity: 'off',
95
- 'constructor-super': 'error',
96
- curly: 'off',
97
- 'eol-last': 'error',
98
- eqeqeq: ['error', 'always'],
99
- 'guard-for-in': 'error',
100
- 'max-classes-per-file': 'off',
101
- 'max-len': ['error', { code: 120, tabWidth: 2 }],
102
- 'new-parens': 'off',
103
- 'newline-per-chained-call': 'off',
104
- 'no-bitwise': 'off',
105
- 'no-caller': 'error',
106
- 'no-case-declarations': 'off',
107
- 'no-cond-assign': 'error',
108
- 'no-console': ['error', { allow: ['log'] }],
109
- 'no-debugger': 'error',
110
- 'no-empty': 'error',
111
- 'no-eval': 'error',
112
- 'no-extra-semi': 'error',
113
- 'no-fallthrough': 'error',
114
- 'no-invalid-this': 'error',
115
- 'no-irregular-whitespace': 'error',
116
- 'no-multiple-empty-lines': 'error',
117
- 'no-new-wrappers': 'error',
118
- 'no-restricted-imports': ['error', 'rxjs/Rx'],
119
- 'no-shadow': 'off',
120
- 'no-throw-literal': 'error',
121
- 'no-trailing-spaces': 'error',
122
- 'no-undef-init': 'error',
123
- 'no-underscore-dangle': 'off',
124
- 'no-unsafe-finally': 'error',
125
- 'no-unused-labels': 'error',
126
- 'no-var': 'error',
127
- 'object-shorthand': 'error',
128
- 'one-var': 'off',
129
- 'prefer-const': 'error',
130
- 'quote-props': ['error', 'as-needed'],
131
- radix: 'error',
132
- 'space-before-function-paren': ['error', 'never'],
133
- 'space-in-parens': ['error', 'never'],
134
- 'spaced-comment': ['error', 'always', { markers: ['/'] }],
135
- 'use-isnan': 'error',
136
- 'valid-typeof': 'error'
137
- }
138
- }
139
- ]
2
+ root: true,
3
+ env: {
4
+ browser: true,
5
+ es6: true,
6
+ node: true,
7
+ commonjs: true
8
+ },
9
+ parser: '@typescript-eslint/parser',
10
+ plugins: ['@typescript-eslint'],
11
+ extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'],
12
+ rules: {
13
+ '@typescript-eslint/explicit-module-boundary-types': 0,
14
+ '@typescript-eslint/no-explicit-any': 0
15
+ }
140
16
  };
package/dist/index.d.ts CHANGED
@@ -1,10 +1,11 @@
1
- export * from './resourceController';
2
- export * from './streamController';
3
- export * from './dynamoDB';
4
- export * from './cognito';
5
- export * from './comprehend';
6
- export * from './s3';
7
- export * from './ses';
8
- export * from './sns';
9
- export * from './translate';
10
- export * from './attachments';
1
+ export * from './src/genericController';
2
+ export * from './src/resourceController';
3
+ export * from './src/streamController';
4
+ export * from './src/dynamoDB';
5
+ export * from './src/cognito';
6
+ export * from './src/comprehend';
7
+ export * from './src/s3';
8
+ export * from './src/ses';
9
+ export * from './src/sns';
10
+ export * from './src/translate';
11
+ export * from './src/attachments';