@citrus-linting/eslint-config 0.18.2 → 0.19.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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@citrus-linting/eslint-config",
3
- "version": "0.18.2",
3
+ "version": "0.19.0",
4
4
  "description": "ESLint config used by CitRUS.",
5
5
  "keywords": [
6
6
  "config",
package/rules/base.js CHANGED
@@ -187,7 +187,7 @@ module.exports = {
187
187
  "array-element-newline": [2, "consistent"],
188
188
  "block-spacing": [2],
189
189
  "brace-style": [2],
190
- camelcase: [2],
190
+ camelcase: [2, { properties: "never" }],
191
191
  // "capitalized-comments": [2],
192
192
  "comma-dangle": [2],
193
193
  "comma-spacing": [2],
package/rules/svelte.js CHANGED
@@ -4,9 +4,12 @@ module.exports = {
4
4
  Possible Errors
5
5
  */
6
6
  "@ota-meshi/svelte/no-dupe-else-if-blocks": 2,
7
+ "@ota-meshi/svelte/no-dupe-style-properties": 2,
7
8
  "@ota-meshi/svelte/no-dynamic-slot-name": 2,
8
9
  "@ota-meshi/svelte/no-not-function-handler": 2,
9
10
  "@ota-meshi/svelte/no-object-in-text-mustaches": 2,
11
+ "@ota-meshi/svelte/no-shorthand-style-property-overrides": 2,
12
+ "@ota-meshi/svelte/no-unknown-style-directive-property": [2],
10
13
  "@ota-meshi/svelte/valid-compile": [2],
11
14
 
12
15
  /*
@@ -20,7 +23,9 @@ module.exports = {
20
23
  */
21
24
  // "@ota-meshi/svelte/button-has-type": [2],
22
25
  "@ota-meshi/svelte/no-at-debug-tags": 2,
26
+ "@ota-meshi/svelte/no-unused-svelte-ignore": 2,
23
27
  "@ota-meshi/svelte/no-useless-mustaches": [2],
28
+ "@ota-meshi/svelte/require-optimized-style-attribute": 2,
24
29
 
25
30
  /*
26
31
  Stylistic Issues
@@ -36,8 +41,10 @@ module.exports = {
36
41
  ],
37
42
  // "@ota-meshi/svelte/max-attributes-per-line": [2],
38
43
  "@ota-meshi/svelte/mustache-spacing": [2],
39
- // "@ota-meshi/svelte/prefer-class-directive": 2,
44
+ "@ota-meshi/svelte/prefer-class-directive": 2,
45
+ "@ota-meshi/svelte/prefer-style-directive": 2,
40
46
  "@ota-meshi/svelte/shorthand-attribute": [2],
47
+ "@ota-meshi/svelte/shorthand-directive": [2],
41
48
  "@ota-meshi/svelte/spaced-html-comment": [2],
42
49
 
43
50
  /*
@@ -49,14 +56,12 @@ module.exports = {
49
56
  System
50
57
  */
51
58
  "@ota-meshi/svelte/comment-directive": 2,
52
- "@ota-meshi/svelte/dollar-prefixed-store-uses-vars": 2,
53
59
  "@ota-meshi/svelte/system": 2,
54
60
 
55
61
  /*
56
62
  [other]
57
63
  */
58
64
  "no-self-assign": 0,
59
- "no-undef-init": 0,
60
- "@typescript-eslint/no-unnecessary-condition": 0
65
+ "no-undef-init": 0
61
66
  }
62
67
  }
@@ -58,7 +58,7 @@ module.exports = {
58
58
  "@typescript-eslint/no-var-requires": 2,
59
59
  "@typescript-eslint/non-nullable-type-assertion-style": 2,
60
60
  "@typescript-eslint/prefer-as-const": 2,
61
- // "@typescript-eslint/prefer-enum-initializers": 2,
61
+ "@typescript-eslint/prefer-enum-initializers": 2,
62
62
  "@typescript-eslint/prefer-function-type": 2,
63
63
  "@typescript-eslint/prefer-includes": 2,
64
64
  // "@typescript-eslint/prefer-literal-enum-member": [2],
@@ -206,22 +206,22 @@ module.exports = {
206
206
  {
207
207
  selector: "memberLike",
208
208
  modifiers: ["private"],
209
- format: ["camelCase"],
209
+ format: null,
210
210
  leadingUnderscore: "require"
211
211
  },
212
212
  {
213
213
  selector: "memberLike",
214
214
  modifiers: ["protected"],
215
- format: ["camelCase"],
215
+ format: null,
216
216
  leadingUnderscore: "require"
217
217
  },
218
218
  {
219
- selector: "typeLike",
219
+ selector: ["enumMember", "typeLike"],
220
220
  format: ["PascalCase"]
221
221
  },
222
222
  {
223
- selector: "enumMember",
224
- format: ["PascalCase"]
223
+ selector: ["objectLiteralProperty", "typeProperty"],
224
+ format: null
225
225
  }
226
226
  ],
227
227
  "no-shadow": 0,