@codeleap/config 1.0.0 → 1.1.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.
Files changed (2) hide show
  1. package/.eslintrc.js +6 -2
  2. package/package.json +19 -19
package/.eslintrc.js CHANGED
@@ -21,6 +21,7 @@ const formatting = {
21
21
  'error',
22
22
  'always',
23
23
  ],
24
+ 'prefer-rest-params': 'off',
24
25
  'brace-style': [
25
26
  'error',
26
27
  '1tbs',
@@ -117,10 +118,13 @@ const formatting = {
117
118
  'declaration',
118
119
  { allowArrowFunctions: true },
119
120
  ],
121
+ 'no-multiple-empty-lines': ['error', { max: 2, maxBOF: 0, maxEOF: 1 }],
122
+ semi: ['error', 'never'],
123
+ 'semi-spacing': 'error',
124
+ 'semi-style': 'error',
120
125
  }
121
126
 
122
127
  const codeQuality = {
123
-
124
128
  'global-require': 'off',
125
129
  'handle-callback-err': 'warn',
126
130
  'callback-return': 'off',
@@ -160,6 +164,7 @@ module.exports = {
160
164
  '@typescript-eslint',
161
165
  ],
162
166
  globals: {
167
+ logger: true,
163
168
  warn: true,
164
169
  log: true,
165
170
  deb: true,
@@ -175,4 +180,3 @@ module.exports = {
175
180
  ...typescript,
176
181
  },
177
182
  }
178
-
package/package.json CHANGED
@@ -1,19 +1,19 @@
1
- {
2
- "name": "@codeleap/config",
3
- "version": "1.0.0",
4
- "main": "index.js",
5
- "license": "MIT",
6
- "files": [
7
- ".eslintrc.js"
8
- ],
9
- "dependencies": {
10
- "@typescript-eslint/eslint-plugin": "^5.8.1",
11
- "@typescript-eslint/parser": "^5.8.1",
12
- "babel-eslint": "^10.1.0",
13
- "eslint-import-resolver-alias": "^1.1.2",
14
- "eslint-plugin-flowtype": "^8.0.3",
15
- "eslint-plugin-import": "^2.25.3",
16
- "eslint-plugin-react": "^7.28.0",
17
- "eslint-plugin-react-hooks": "^4.3.0"
18
- }
19
- }
1
+ {
2
+ "name": "@codeleap/config",
3
+ "version": "1.1.0",
4
+ "main": "index.js",
5
+ "license": "MIT",
6
+ "files": [
7
+ ".eslintrc.js"
8
+ ],
9
+ "dependencies": {
10
+ "@typescript-eslint/eslint-plugin": "^5.8.1",
11
+ "@typescript-eslint/parser": "^5.8.1",
12
+ "babel-eslint": "^10.1.0",
13
+ "eslint-import-resolver-alias": "^1.1.2",
14
+ "eslint-plugin-flowtype": "^8.0.3",
15
+ "eslint-plugin-import": "^2.25.3",
16
+ "eslint-plugin-react": "^7.28.0",
17
+ "eslint-plugin-react-hooks": "^4.3.0"
18
+ }
19
+ }