@cubejs-backend/linter 0.28.0 → 0.29.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 (3) hide show
  1. package/CHANGELOG.md +48 -0
  2. package/index.js +8 -12
  3. package/package.json +3 -3
package/CHANGELOG.md CHANGED
@@ -3,6 +3,54 @@
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.0](https://github.com/cube-js/cube.js/compare/v0.28.67...v0.29.0) (2021-12-14)
7
+
8
+
9
+ ### Reverts
10
+
11
+ * 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)
12
+
13
+
14
+ * 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)
15
+
16
+
17
+ ### BREAKING CHANGES
18
+
19
+ * Drop support for Node.js 10 (12.x is a minimal version)
20
+ * Upgrade Node.js to 14 for Docker images
21
+ * Drop support for Node.js 15
22
+
23
+
24
+
25
+
26
+
27
+ ## [0.28.22](https://github.com/cube-js/cube.js/compare/v0.28.21...v0.28.22) (2021-08-17)
28
+
29
+ **Note:** Version bump only for package @cubejs-backend/linter
30
+
31
+
32
+
33
+
34
+
35
+ ## [0.28.17](https://github.com/cube-js/cube.js/compare/v0.28.16...v0.28.17) (2021-08-11)
36
+
37
+ **Note:** Version bump only for package @cubejs-backend/linter
38
+
39
+
40
+
41
+
42
+
43
+ ## [0.28.6](https://github.com/cube-js/cube.js/compare/v0.28.5...v0.28.6) (2021-07-22)
44
+
45
+
46
+ ### Features
47
+
48
+ * **@cubejs-client/ngx:** async CubejsClient initialization ([#2876](https://github.com/cube-js/cube.js/issues/2876)) ([bba3a01](https://github.com/cube-js/cube.js/commit/bba3a01d2a072093509633f2d26e8df9677f940c))
49
+
50
+
51
+
52
+
53
+
6
54
  # [0.28.0](https://github.com/cube-js/cube.js/compare/v0.27.53...v0.28.0) (2021-07-17)
7
55
 
8
56
  **Note:** Version bump only for package @cubejs-backend/linter
package/index.js CHANGED
@@ -4,14 +4,14 @@ 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
- ecmaVersion: 2020
11
+ ecmaVersion: 2020,
12
+ ecmaFeatures: {
13
+ legacyDecorators: true,
14
+ },
15
15
  },
16
16
  rules: {
17
17
  'no-useless-constructor': 0,
@@ -33,13 +33,8 @@ module.exports = {
33
33
  'no-plusplus': 0,
34
34
  'no-await-in-loop': 0,
35
35
  'operator-linebreak': 0,
36
- 'max-len': ['error', 120, 2, {
37
- ignoreUrls: true,
38
- ignoreComments: false,
39
- ignoreRegExpLiterals: true,
40
- ignoreStrings: true,
41
- ignoreTemplateLiterals: true,
42
- }],
36
+ // linter can't fix this itself and, in some cases, conflicts with `arrow-body-style`
37
+ 'max-len': 0,
43
38
  'no-trailing-spaces': ['warn', { skipBlankLines: true }],
44
39
  'object-curly-newline': 0,
45
40
  // TypeScript Recommended
@@ -56,6 +51,7 @@ module.exports = {
56
51
  '@typescript-eslint/prefer-namespace-keyword': 'error',
57
52
  '@typescript-eslint/triple-slash-reference': 'error',
58
53
  '@typescript-eslint/type-annotation-spacing': 'error',
54
+ '@typescript-eslint/space-infix-ops': 'error',
59
55
  },
60
56
  overrides: [
61
57
  {
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.28.0",
5
+ "version": "0.29.0",
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": ">=10.8.0"
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": "a63d0118921c33743263407026ec69cea6494d41"
33
+ "gitHead": "15502010fedcb085860d4f35267a57a6d60aa9ab"
34
34
  }