eslint-config-simplesense 2.3.4 → 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 +14 -0
- package/package.json +2 -2
- package/plugins/import.js +6 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,18 @@
|
|
|
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
|
+
|
|
2
16
|
### [2.3.4](https://github.com/simplesenseio/eslint-config-simplesense/compare/2.3.3...2.3.4) (2022-02-22)
|
|
3
17
|
|
|
4
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "eslint-config-simplesense",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.5",
|
|
4
4
|
"description": "ESLint Config for SimpleSense Styles",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -69,7 +69,7 @@
|
|
|
69
69
|
},
|
|
70
70
|
"devDependencies": {
|
|
71
71
|
"@vuepress/plugin-pwa": "^1.9.7",
|
|
72
|
-
"eslint": "^8.
|
|
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
|
-
|
|
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'],
|