eslint-config-simplesense 2.3.2 → 2.3.5

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 CHANGED
@@ -1,4 +1,36 @@
1
1
  Changelog
2
+ ### [2.3.5](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.3.4...2.3.5) (2022-03-08)
3
+
4
+
5
+ ### Bug Fixes
6
+
7
+ * resolve extraneous dependencies in lambda layer and root ([d7d2df7](https://github.com/simplesenseio/eslint-config-simplesense/commit/d7d2df73a7f2cc346c1b92259bdc75d9d7526885))
8
+
9
+
10
+ ### Builds
11
+
12
+ * **deps:** bump prismjs from 1.26.0 to 1.27.0 ([4ef4eb2](https://github.com/simplesenseio/eslint-config-simplesense/commit/4ef4eb21667e3a69b18838654d3b6e778dcb7400))
13
+ * **deps:** bump url-parse from 1.5.7 to 1.5.10 ([72ae679](https://github.com/simplesenseio/eslint-config-simplesense/commit/72ae6790c8f2200e7c76c7d967143f0ae553b3d9))
14
+ * update npm dependencies ([6b9127a](https://github.com/simplesenseio/eslint-config-simplesense/commit/6b9127af6622f81adf6f6f26aba28c55965ead95))
15
+
16
+ ### [2.3.4](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.3.3...2.3.4) (2022-02-22)
17
+
18
+
19
+ ### Code Refactoring
20
+
21
+ * turns off sonarjs/prefer-single-boolean-return because we disagree ([04514da](https://github.com/simplesenseio/eslint-config-simplesense/commit/04514dac659dfaeca93e0a2d3aee1364bc9ff0ac))
22
+
23
+ ### [2.3.3](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.3.2...2.3.3) (2022-02-22)
24
+
25
+
26
+ ### Builds
27
+
28
+ * **deps:** bump follow-redirects from 1.14.7 to 1.14.8 ([93aa5a3](https://github.com/simplesenseio/eslint-config-simplesense/commit/93aa5a3772b7ae5e612de64c207004db361d17ed))
29
+ * **deps:** bump url-parse from 1.5.4 to 1.5.7 ([2b9cde3](https://github.com/simplesenseio/eslint-config-simplesense/commit/2b9cde3742b22361a32038a8b42c4ae5453ca1eb))
30
+ * npm bump follow-redirects from 1.14.7 to 1.14.8 ([8e0ce35](https://github.com/simplesenseio/eslint-config-simplesense/commit/8e0ce3533c5767066c927a230c93b98a24866b20))
31
+ * npm bump url-parse from 1.5.4 to 1.5.7 ([70e7bc7](https://github.com/simplesenseio/eslint-config-simplesense/commit/70e7bc70a3525cc39ab9ceda955eb5e351839381))
32
+ * update npm dependencies ([6938082](https://github.com/simplesenseio/eslint-config-simplesense/commit/693808269bfe4097c2633974a8fd80df560e79fc))
33
+
2
34
  ### [2.3.2](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.3.1...2.3.2) (2022-02-12)
3
35
 
4
36
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-config-simplesense",
3
- "version": "2.3.2",
3
+ "version": "2.3.5",
4
4
  "description": "ESLint Config for SimpleSense Styles",
5
5
  "keywords": [
6
6
  "eslint",
@@ -62,14 +62,14 @@
62
62
  "eslint-plugin-optimize-regex": "^1.2.1",
63
63
  "eslint-plugin-regexp": "^1.5.1",
64
64
  "eslint-plugin-security": "^1.4.0",
65
- "eslint-plugin-sonarjs": "^0.11.0",
66
- "eslint-plugin-unicorn": "^40.1.0",
67
- "eslint-plugin-vue": "^8.4.1",
68
- "eslint-plugin-yml": "^0.13.0"
65
+ "eslint-plugin-sonarjs": "^0.12.0",
66
+ "eslint-plugin-unicorn": "^41.0.0",
67
+ "eslint-plugin-vue": "^8.5.0",
68
+ "eslint-plugin-yml": "^0.14.0"
69
69
  },
70
70
  "devDependencies": {
71
71
  "@vuepress/plugin-pwa": "^1.9.7",
72
- "eslint": "^8.9.0",
72
+ "eslint": "^8.10.0",
73
73
  "hash-sum": "^2.0.0",
74
74
  "jest": "^27.5.1",
75
75
  "sort-package-json": "^1.54.0",
package/plugins/import.js CHANGED
@@ -1,6 +1,10 @@
1
1
  (() => {
2
2
  'use strict';
3
3
 
4
+ // const path = require('path');
5
+
6
+ // const ROOT_DIR = path.resolve(__dirname, '../../../');
7
+
4
8
  module.exports = {
5
9
  'import/default': ['error'],
6
10
  'import/export': ['error'],
@@ -14,7 +18,8 @@
14
18
  'import/no-deprecated': ['error'],
15
19
  'import/no-duplicates': ['error'],
16
20
  'import/no-dynamic-require': ['error'],
17
- 'import/no-extraneous-dependencies': ['error'],
21
+ // There is an open merge that needs to happen before we can change this rule: https://github.com/import-js/eslint-plugin-import/pull/1954
22
+ 'import/no-extraneous-dependencies': 'error', // [ 'error', { packageDir: [ ROOT_DIR, `${ ROOT_DIR }/lambda/layers/node-modules/nodejs` ]}],
18
23
  'import/no-named-as-default-member': ['error'],
19
24
  'import/no-named-default': ['error'],
20
25
  'import/no-self-import': ['error'],
@@ -6,5 +6,6 @@
6
6
  // this rule does has a lot of false positives
7
7
  'sonarjs/no-duplicate-string': ['off'],
8
8
  'sonarjs/no-nested-template-literals': ['off'],
9
+ 'sonarjs/prefer-single-boolean-return': ['off'],
9
10
  };
10
11
  })();