@rebeccastevens/eslint-config 1.3.16 → 1.3.19

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,6 +1,27 @@
1
1
  # Changelog
2
2
  All notable changes to this project will be documented in this file. Dates are displayed in UTC.
3
3
 
4
+ ## [1.3.19](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.18...v1.3.19) (2022-04-13)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * tweak naming-convention" ([39f4456](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/39f4456cd39e78f09b188d3960c0baa893792b67))
10
+
11
+ ## [1.3.18](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.17...v1.3.18) (2022-04-09)
12
+
13
+
14
+ ### Bug Fixes
15
+
16
+ * tweak naming-convention" ([9f12b8a](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/9f12b8a3641217c8eb037993fbf41daeb381fa82))
17
+
18
+ ## [1.3.17](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.16...v1.3.17) (2022-04-05)
19
+
20
+
21
+ ### Bug Fixes
22
+
23
+ * tweak naming-convention" ([ab792d2](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/ab792d2b3a40b22723bb2384cae4692e100bf754))
24
+
4
25
  ## [1.3.16](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.15...v1.3.16) (2022-04-04)
5
26
 
6
27
 
@@ -68,20 +68,28 @@ const settings = {
68
68
  {
69
69
  selector: "default",
70
70
  format: ["camelCase", "PascalCase"],
71
+ leadingUnderscore: "allow",
72
+ trailingUnderscore: "forbid",
71
73
  },
72
74
  {
73
75
  selector: "variableLike",
74
76
  format: ["camelCase", "PascalCase"],
77
+ leadingUnderscore: "allow",
78
+ trailingUnderscore: "forbid",
75
79
  },
76
80
  {
77
81
  selector: "variable",
78
82
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
79
83
  prefix: ["m_", "M_"],
84
+ leadingUnderscore: "allow",
85
+ trailingUnderscore: "forbid",
80
86
  },
81
87
  {
82
88
  selector: "variable",
83
89
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
84
90
  modifiers: ["const"],
91
+ leadingUnderscore: "allow",
92
+ trailingUnderscore: "forbid",
85
93
  },
86
94
  {
87
95
  selector: "variable",
@@ -92,23 +100,33 @@ const settings = {
92
100
  selector: "memberLike",
93
101
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
94
102
  prefix: ["m_", "M_"],
103
+ leadingUnderscore: "allow",
104
+ trailingUnderscore: "forbid",
95
105
  },
96
106
  {
97
107
  selector: "memberLike",
98
108
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
99
109
  modifiers: ["readonly"],
110
+ leadingUnderscore: "allow",
111
+ trailingUnderscore: "forbid",
100
112
  },
101
113
  {
102
- selector: ["classMethod", "typeMethod"],
114
+ selector: ["classMethod", "typeMethod", "typeProperty"],
103
115
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
116
+ leadingUnderscore: "allow",
117
+ trailingUnderscore: "forbid",
104
118
  },
105
119
  {
106
120
  selector: "enumMember",
107
- format: ["UPPER_CASE"],
121
+ format: ["PascalCase", "UPPER_CASE"],
122
+ leadingUnderscore: "allow",
123
+ trailingUnderscore: "forbid",
108
124
  },
109
125
  {
110
126
  selector: "typeLike",
111
127
  format: ["PascalCase"],
128
+ leadingUnderscore: "allow",
129
+ trailingUnderscore: "forbid",
112
130
  },
113
131
  {
114
132
  selector: ["objectLiteralProperty", "objectLiteralMethod"],
@@ -66,20 +66,28 @@ const settings = {
66
66
  {
67
67
  selector: "default",
68
68
  format: ["camelCase", "PascalCase"],
69
+ leadingUnderscore: "allow",
70
+ trailingUnderscore: "forbid",
69
71
  },
70
72
  {
71
73
  selector: "variableLike",
72
74
  format: ["camelCase", "PascalCase"],
75
+ leadingUnderscore: "allow",
76
+ trailingUnderscore: "forbid",
73
77
  },
74
78
  {
75
79
  selector: "variable",
76
80
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
77
81
  prefix: ["m_", "M_"],
82
+ leadingUnderscore: "allow",
83
+ trailingUnderscore: "forbid",
78
84
  },
79
85
  {
80
86
  selector: "variable",
81
87
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
82
88
  modifiers: ["const"],
89
+ leadingUnderscore: "allow",
90
+ trailingUnderscore: "forbid",
83
91
  },
84
92
  {
85
93
  selector: "variable",
@@ -90,23 +98,33 @@ const settings = {
90
98
  selector: "memberLike",
91
99
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
92
100
  prefix: ["m_", "M_"],
101
+ leadingUnderscore: "allow",
102
+ trailingUnderscore: "forbid",
93
103
  },
94
104
  {
95
105
  selector: "memberLike",
96
106
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
97
107
  modifiers: ["readonly"],
108
+ leadingUnderscore: "allow",
109
+ trailingUnderscore: "forbid",
98
110
  },
99
111
  {
100
- selector: ["classMethod", "typeMethod"],
112
+ selector: ["classMethod", "typeMethod", "typeProperty"],
101
113
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
114
+ leadingUnderscore: "allow",
115
+ trailingUnderscore: "forbid",
102
116
  },
103
117
  {
104
118
  selector: "enumMember",
105
- format: ["UPPER_CASE"],
119
+ format: ["PascalCase", "UPPER_CASE"],
120
+ leadingUnderscore: "allow",
121
+ trailingUnderscore: "forbid",
106
122
  },
107
123
  {
108
124
  selector: "typeLike",
109
125
  format: ["PascalCase"],
126
+ leadingUnderscore: "allow",
127
+ trailingUnderscore: "forbid",
110
128
  },
111
129
  {
112
130
  selector: ["objectLiteralProperty", "objectLiteralMethod"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebeccastevens/eslint-config",
3
- "version": "1.3.16",
3
+ "version": "1.3.19",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"