eslint-plugin-crisp 1.0.73 → 1.0.75

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
@@ -83,6 +83,7 @@ Each item has emojis denoting:
83
83
  | [no-restricted-syntax](https://eslint.org/docs/latest/rules/no-restricted-syntax) | Enforces `switch` `case`'s content to be enclosed in braces | | 🟢 |
84
84
  | [no-tabs](https://eslint.org/docs/latest/rules/no-tabs) | Disallows tabs | 🟠 | 🟢 |
85
85
  | [no-trailing-spaces](https://eslint.org/docs/latest/rules/no-trailing-spaces) | Disallows trailing whitespace at the end of lines | 🟠 | 🟢 |
86
+ | [no-undef](https://eslint.org/docs/latest/rules/no-undef) | Disallows use of undeclared variables | 🟠 | 🟢 |
86
87
  | [no-unused-vars](https://eslint.org/docs/latest/rules/no-unused-vars) | Disallows unused variables | 🟠 | 🟢 |
87
88
  | [no-unsafe-optional-chaining](https://eslint.org/docs/latest/rules/no-unsafe-optional-chaining) | Disallows use of optional chaining in contexts where the `undefined` value is not allowed | 🟠 | 🟢 |
88
89
  | [object-curly-newline](https://eslint.org/docs/latest/rules/object-curly-newline) | Requires line breaks after opening and before closing braces | 🟠 | 🟢 |
@@ -165,6 +166,7 @@ Each item has emojis denoting:
165
166
  | [vue/html-quotes](https://eslint.vuejs.org/rules/html-quotes) | Rule is **disabled** in order to allow backticks in HTML attributes | | 🟢 |
166
167
  | [vue/key-spacing](https://eslint.vuejs.org/rules/key-spacing) | Enforces consistent spacing in object literal properties in `<template>` (no space between the key and the colon, one space between the colon and the value) | | 🟢 |
167
168
  | [vue/match-component-import-name](https://eslint.vuejs.org/rules/match-component-import-name) | Requires the registered component name to match the imported component name | | 🟢 |
169
+ | [vue/max-len](https://eslint.vuejs.org/rules/max-len) | Enforces a maximum line length of 80 characters (only for `<script>`) | | 🟢 |
168
170
  | [vue/new-line-between-multi-line-property](https://eslint.vuejs.org/rules/new-line-between-multi-line-property) | Requires new lines between multi-line `props` | | 🟢 |
169
171
  | [vue/no-bare-strings-in-template](https://eslint.vuejs.org/rules/no-bare-strings-in-template) | Disallows the use of bare strings in `<template>` | | 🟢 |
170
172
  | [vue/no-irregular-whitespace](https://eslint.vuejs.org/rules/no-irregular-whitespace) | Disallows irregular / invalid whitespaces | | 🟢 |
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-crisp",
3
- "version": "1.0.73",
3
+ "version": "1.0.75",
4
4
  "description": "Custom ESLint Rules for Crisp",
5
5
  "author": "Crisp IM SAS",
6
6
  "main": "index.js",
@@ -94,6 +94,7 @@ module.exports = {
94
94
  ],
95
95
  "no-tabs": "error",
96
96
  "no-trailing-spaces": "error",
97
+ "no-undef": "error",
97
98
  "no-unused-vars": "warn",
98
99
  "no-unsafe-optional-chaining": "error",
99
100
  "object-curly-newline": [
@@ -280,6 +281,12 @@ module.exports = {
280
281
  }
281
282
  ],
282
283
  "vue/match-component-import-name": "error",
284
+ "vue/max-len": ["error", {
285
+ "code": 80,
286
+ "template": 999,
287
+ "ignorePattern": "^import|\`(.+?)\`|\/\\*\\* \@type",
288
+ "ignoreStrings": true
289
+ }],
283
290
  "vue/new-line-between-multi-line-property": "error",
284
291
  "vue/no-bare-strings-in-template": "error",
285
292
  "vue/no-irregular-whitespace": "error",
package/recommended.js CHANGED
@@ -95,6 +95,7 @@ module.exports = {
95
95
  "no-mixed-spaces-and-tabs": "error",
96
96
  "no-tabs": "error",
97
97
  "no-trailing-spaces": "error",
98
+ "no-undef": "error",
98
99
  "no-unused-vars": "warn",
99
100
  "no-unsafe-optional-chaining": "error",
100
101
  "object-curly-newline": [