@rebeccastevens/eslint-config 1.3.15 → 1.3.16

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,13 @@
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.16](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.15...v1.3.16) (2022-04-04)
5
+
6
+
7
+ ### Bug Fixes
8
+
9
+ * tweak naming-convention" ([092ae10](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/commit/092ae102744c68657832367634daa679fa2f36b9))
10
+
4
11
  ## [1.3.15](https://github.com/RebeccaStevens/eslint-config-rebeccastevens/compare/v1.3.14...v1.3.15) (2022-04-04)
5
12
 
6
13
 
@@ -68,27 +68,19 @@ const settings = {
68
68
  {
69
69
  selector: "default",
70
70
  format: ["camelCase", "PascalCase"],
71
- leadingUnderscore: "allow",
72
- trailingUnderscore: "forbid",
73
71
  },
74
72
  {
75
73
  selector: "variableLike",
76
74
  format: ["camelCase", "PascalCase"],
77
- leadingUnderscore: "allow",
78
- trailingUnderscore: "forbid",
79
75
  },
80
76
  {
81
77
  selector: "variable",
82
78
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
83
- leadingUnderscore: "forbid",
84
- trailingUnderscore: "forbid",
85
79
  prefix: ["m_", "M_"],
86
80
  },
87
81
  {
88
82
  selector: "variable",
89
83
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
90
- leadingUnderscore: "forbid",
91
- trailingUnderscore: "forbid",
92
84
  modifiers: ["const"],
93
85
  },
94
86
  {
@@ -101,6 +93,11 @@ const settings = {
101
93
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
102
94
  prefix: ["m_", "M_"],
103
95
  },
96
+ {
97
+ selector: "memberLike",
98
+ format: ["camelCase", "PascalCase", "UPPER_CASE"],
99
+ modifiers: ["readonly"],
100
+ },
104
101
  {
105
102
  selector: ["classMethod", "typeMethod"],
106
103
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
@@ -108,14 +105,10 @@ const settings = {
108
105
  {
109
106
  selector: "enumMember",
110
107
  format: ["UPPER_CASE"],
111
- leadingUnderscore: "forbid",
112
- trailingUnderscore: "forbid",
113
108
  },
114
109
  {
115
110
  selector: "typeLike",
116
111
  format: ["PascalCase"],
117
- leadingUnderscore: "forbid",
118
- trailingUnderscore: "forbid",
119
112
  },
120
113
  {
121
114
  selector: ["objectLiteralProperty", "objectLiteralMethod"],
@@ -66,27 +66,19 @@ const settings = {
66
66
  {
67
67
  selector: "default",
68
68
  format: ["camelCase", "PascalCase"],
69
- leadingUnderscore: "allow",
70
- trailingUnderscore: "forbid",
71
69
  },
72
70
  {
73
71
  selector: "variableLike",
74
72
  format: ["camelCase", "PascalCase"],
75
- leadingUnderscore: "allow",
76
- trailingUnderscore: "forbid",
77
73
  },
78
74
  {
79
75
  selector: "variable",
80
76
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
81
- leadingUnderscore: "forbid",
82
- trailingUnderscore: "forbid",
83
77
  prefix: ["m_", "M_"],
84
78
  },
85
79
  {
86
80
  selector: "variable",
87
81
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
88
- leadingUnderscore: "forbid",
89
- trailingUnderscore: "forbid",
90
82
  modifiers: ["const"],
91
83
  },
92
84
  {
@@ -99,6 +91,11 @@ const settings = {
99
91
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
100
92
  prefix: ["m_", "M_"],
101
93
  },
94
+ {
95
+ selector: "memberLike",
96
+ format: ["camelCase", "PascalCase", "UPPER_CASE"],
97
+ modifiers: ["readonly"],
98
+ },
102
99
  {
103
100
  selector: ["classMethod", "typeMethod"],
104
101
  format: ["camelCase", "PascalCase", "UPPER_CASE"],
@@ -106,14 +103,10 @@ const settings = {
106
103
  {
107
104
  selector: "enumMember",
108
105
  format: ["UPPER_CASE"],
109
- leadingUnderscore: "forbid",
110
- trailingUnderscore: "forbid",
111
106
  },
112
107
  {
113
108
  selector: "typeLike",
114
109
  format: ["PascalCase"],
115
- leadingUnderscore: "forbid",
116
- trailingUnderscore: "forbid",
117
110
  },
118
111
  {
119
112
  selector: ["objectLiteralProperty", "objectLiteralMethod"],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rebeccastevens/eslint-config",
3
- "version": "1.3.15",
3
+ "version": "1.3.16",
4
4
  "description": "My ESLint shareable config.",
5
5
  "keywords": [
6
6
  "eslint config"