eslint-plugin-crisp 1.2.2 → 1.2.4

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/README.md CHANGED
@@ -8,9 +8,10 @@ A set of custom [ESLint](https://eslint.org/) configurations and rules for Crisp
8
8
 
9
9
  ## Usage
10
10
 
11
- The plugin provides two configurations:
11
+ The plugin provides three configurations:
12
12
  * `recommended`: JS rules targetting backend code (Node.js)
13
13
  * `recommended-vue`: JS rules targetting frontend code (Vue.js)
14
+ * `recommended-ts`: TS rules targetting frontend and backend code (Node.js, Vue.js)
14
15
 
15
16
  Add the plugin in your ESLint config object, then extend the desired configuration:
16
17
  ```javascript
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-crisp",
3
- "version": "1.2.2",
3
+ "version": "1.2.4",
4
4
  "description": "Custom ESLint Rules for Crisp",
5
5
  "author": "Crisp IM SAS",
6
6
  "main": "index.js",
@@ -42,7 +42,7 @@ export default {
42
42
  }
43
43
 
44
44
  // Alias path import?
45
- if (path.startsWith("@/") || path.startsWith("#/")) {
45
+ if (path.startsWith("@/") || path.startsWith("@shared/")) {
46
46
  const parts = path.split("/");
47
47
 
48
48
  if (parts.length === 2) {