eslint-config-cityssm 22.2.0 → 22.2.2
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/eslint.config.js +12 -0
- package/eslint.config.ts +12 -0
- package/package.json +1 -1
package/eslint.config.js
CHANGED
|
@@ -110,6 +110,12 @@ export const config = tseslint.config({
|
|
|
110
110
|
]
|
|
111
111
|
}
|
|
112
112
|
],
|
|
113
|
+
'perfectionist/sort-interfaces': [
|
|
114
|
+
'warn',
|
|
115
|
+
{
|
|
116
|
+
partitionByNewLine: true
|
|
117
|
+
}
|
|
118
|
+
],
|
|
113
119
|
'perfectionist/sort-modules': 'warn',
|
|
114
120
|
'perfectionist/sort-named-exports': [
|
|
115
121
|
'error',
|
|
@@ -123,6 +129,12 @@ export const config = tseslint.config({
|
|
|
123
129
|
groupKind: 'types-first'
|
|
124
130
|
}
|
|
125
131
|
],
|
|
132
|
+
'perfectionist/sort-object-types': [
|
|
133
|
+
'warn',
|
|
134
|
+
{
|
|
135
|
+
partitionByNewLine: true
|
|
136
|
+
}
|
|
137
|
+
],
|
|
126
138
|
'perfectionist/sort-objects': [
|
|
127
139
|
'warn',
|
|
128
140
|
{
|
package/eslint.config.ts
CHANGED
|
@@ -128,6 +128,12 @@ export const config = tseslint.config(
|
|
|
128
128
|
]
|
|
129
129
|
}
|
|
130
130
|
],
|
|
131
|
+
'perfectionist/sort-interfaces': [
|
|
132
|
+
'warn',
|
|
133
|
+
{
|
|
134
|
+
partitionByNewLine: true
|
|
135
|
+
}
|
|
136
|
+
],
|
|
131
137
|
'perfectionist/sort-modules': 'warn',
|
|
132
138
|
'perfectionist/sort-named-exports': [
|
|
133
139
|
'error',
|
|
@@ -141,6 +147,12 @@ export const config = tseslint.config(
|
|
|
141
147
|
groupKind: 'types-first'
|
|
142
148
|
}
|
|
143
149
|
],
|
|
150
|
+
'perfectionist/sort-object-types': [
|
|
151
|
+
'warn',
|
|
152
|
+
{
|
|
153
|
+
partitionByNewLine: true
|
|
154
|
+
}
|
|
155
|
+
],
|
|
144
156
|
'perfectionist/sort-objects': [
|
|
145
157
|
'warn',
|
|
146
158
|
{
|
package/package.json
CHANGED