@cubejs-backend/linter 0.28.17 → 0.29.23
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/CHANGELOG.md +45 -0
- package/index.js +26 -6
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,51 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [0.29.23](https://github.com/cube-js/cube.js/compare/v0.29.22...v0.29.23) (2022-01-26)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @cubejs-backend/linter
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [0.29.21](https://github.com/cube-js/cube.js/compare/v0.29.20...v0.29.21) (2022-01-17)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @cubejs-backend/linter
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
# [0.29.0](https://github.com/cube-js/cube.js/compare/v0.28.67...v0.29.0) (2021-12-14)
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
### Reverts
|
|
26
|
+
|
|
27
|
+
* Revert "BREAKING CHANGE: 0.29 (#3809)" (#3811) ([db005ed](https://github.com/cube-js/cube.js/commit/db005edc04d48e8251250ab9d0e19f496cf3b52b)), closes [#3809](https://github.com/cube-js/cube.js/issues/3809) [#3811](https://github.com/cube-js/cube.js/issues/3811)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
* BREAKING CHANGE: 0.29 (#3809) ([6f1418b](https://github.com/cube-js/cube.js/commit/6f1418b9963774844f341682e594601a56bb0084)), closes [#3809](https://github.com/cube-js/cube.js/issues/3809)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### BREAKING CHANGES
|
|
34
|
+
|
|
35
|
+
* Drop support for Node.js 10 (12.x is a minimal version)
|
|
36
|
+
* Upgrade Node.js to 14 for Docker images
|
|
37
|
+
* Drop support for Node.js 15
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
## [0.28.22](https://github.com/cube-js/cube.js/compare/v0.28.21...v0.28.22) (2021-08-17)
|
|
44
|
+
|
|
45
|
+
**Note:** Version bump only for package @cubejs-backend/linter
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
|
|
6
51
|
## [0.28.17](https://github.com/cube-js/cube.js/compare/v0.28.16...v0.28.17) (2021-08-11)
|
|
7
52
|
|
|
8
53
|
**Note:** Version bump only for package @cubejs-backend/linter
|
package/index.js
CHANGED
|
@@ -4,16 +4,13 @@ module.exports = {
|
|
|
4
4
|
env: {
|
|
5
5
|
node: true,
|
|
6
6
|
},
|
|
7
|
-
plugins: [
|
|
8
|
-
'import',
|
|
9
|
-
'@typescript-eslint/eslint-plugin',
|
|
10
|
-
],
|
|
7
|
+
plugins: ['import', '@typescript-eslint/eslint-plugin'],
|
|
11
8
|
parser: '@typescript-eslint/parser',
|
|
12
9
|
parserOptions: {
|
|
13
10
|
sourceType: 'module',
|
|
14
11
|
ecmaVersion: 2020,
|
|
15
12
|
ecmaFeatures: {
|
|
16
|
-
legacyDecorators: true
|
|
13
|
+
legacyDecorators: true,
|
|
17
14
|
},
|
|
18
15
|
},
|
|
19
16
|
rules: {
|
|
@@ -47,13 +44,36 @@ module.exports = {
|
|
|
47
44
|
'@typescript-eslint/no-empty-function': 'error',
|
|
48
45
|
'no-extra-semi': 'off',
|
|
49
46
|
'@typescript-eslint/no-extra-semi': 'error',
|
|
47
|
+
'no-underscore-dangle': 'off',
|
|
50
48
|
'no-unused-vars': 'off',
|
|
51
|
-
'@typescript-eslint/no-unused-vars':
|
|
49
|
+
'@typescript-eslint/no-unused-vars': [
|
|
50
|
+
'warn',
|
|
51
|
+
{
|
|
52
|
+
argsIgnorePattern: '^_.*',
|
|
53
|
+
varsIgnorePattern: '^_.*',
|
|
54
|
+
},
|
|
55
|
+
],
|
|
52
56
|
// '@typescript-eslint/no-var-requires': 'error',
|
|
53
57
|
'@typescript-eslint/prefer-as-const': 'error',
|
|
54
58
|
'@typescript-eslint/prefer-namespace-keyword': 'error',
|
|
55
59
|
'@typescript-eslint/triple-slash-reference': 'error',
|
|
56
60
|
'@typescript-eslint/type-annotation-spacing': 'error',
|
|
61
|
+
'@typescript-eslint/space-infix-ops': 'error',
|
|
62
|
+
'no-restricted-syntax': [
|
|
63
|
+
'error',
|
|
64
|
+
{
|
|
65
|
+
selector: 'ForInStatement',
|
|
66
|
+
message: 'for..in loops iterate over the entire prototype chain, which is virtually never what you want. Use Object.{keys,values,entries}, and iterate over the resulting array.',
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
selector: 'LabeledStatement',
|
|
70
|
+
message: 'Labels are a form of GOTO; using them makes code confusing and hard to maintain and understand.',
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
selector: 'WithStatement',
|
|
74
|
+
message: '`with` is disallowed in strict mode because it makes code impossible to predict and optimize.',
|
|
75
|
+
},
|
|
76
|
+
],
|
|
57
77
|
},
|
|
58
78
|
overrides: [
|
|
59
79
|
{
|
package/package.json
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
"name": "@cubejs-backend/linter",
|
|
3
3
|
"description": "Cube.js ESLint (virtual package) for linting code",
|
|
4
4
|
"author": "Cube Dev, Inc.",
|
|
5
|
-
"version": "0.
|
|
5
|
+
"version": "0.29.23",
|
|
6
6
|
"repository": {
|
|
7
7
|
"type": "git",
|
|
8
8
|
"url": "https://github.com/cube-js/cube.js.git",
|
|
9
9
|
"directory": "packages/cubejs-mssql-driver"
|
|
10
10
|
},
|
|
11
11
|
"engines": {
|
|
12
|
-
"node": ">=
|
|
12
|
+
"node": "^12.0.0 || ^14.0.0 || >=16.0.0"
|
|
13
13
|
},
|
|
14
14
|
"main": "index.js",
|
|
15
15
|
"peerDependencies": {
|
|
@@ -30,5 +30,5 @@
|
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public"
|
|
32
32
|
},
|
|
33
|
-
"gitHead": "
|
|
33
|
+
"gitHead": "da516571691c103ecbd035c3319653766622b083"
|
|
34
34
|
}
|