We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d3542f2 commit cdeccecCopy full SHA for cdeccec
tests/rules/order.test.ts
@@ -154,6 +154,24 @@ describe('order', () => {
154
errors: [{ messageId: 'needs-newline' }],
155
},
156
157
+ {
158
+ name: 'groups local modules together',
159
+ code: dedent`
160
+ import prettier from 'eslint-config-prettier'
161
+ import xoTypeScript from 'eslint-config-xo-typescript'
162
+ import etc from 'eslint-plugin-etc'
163
+ import stylistic from './stylistic.js'
164
+ `,
165
+ output: dedent`
166
167
168
169
+
170
171
172
+ errors: [{ messageId: 'needs-newline' }],
173
+ },
174
175
{
176
name: 'sorts local paths by dot segments',
177
code: dedent`
0 commit comments