File tree Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Expand file tree Collapse file tree 1 file changed +20
-7
lines changed Original file line number Diff line number Diff line change 1
- import plugin from './index.js' ;
1
+ import emberPlugin from './index.js' ;
2
2
import gjsRules from './recommended-rules-gjs.js' ;
3
3
import gtsRules from './recommended-rules-gts.js' ;
4
- import parser from 'ember-eslint-parser' ;
4
+ import emberParser from 'ember-eslint-parser' ;
5
+
6
+ export const plugin = emberPlugin ;
7
+ export const parser = emberParser ;
5
8
6
9
export const base = {
7
- plugins : { ember : plugin } ,
10
+ plugins : { ember : emberPlugin } ,
8
11
} ;
9
12
10
13
export const gjs = {
11
- plugins : { ember : plugin } ,
14
+ plugins : { ember : emberPlugin } ,
12
15
files : [ '**/*.gjs' ] ,
13
16
languageOptions : {
14
- parser,
17
+ parser : emberParser ,
15
18
} ,
16
19
processor : 'ember/noop' ,
17
20
rules : gjsRules ,
18
21
} ;
19
22
20
23
export const gts = {
21
- plugins : { ember : plugin } ,
24
+ plugins : { ember : emberPlugin } ,
22
25
files : [ '**/*.gts' ] ,
23
26
languageOptions : {
24
- parser,
27
+ parser : emberParser ,
25
28
} ,
26
29
processor : 'ember/noop' ,
27
30
rules : gtsRules ,
28
31
} ;
32
+
33
+ export default {
34
+ // Helpful utility exports
35
+ plugin,
36
+ parser,
37
+ // Recommended config sets
38
+ base,
39
+ gjs,
40
+ gts,
41
+ } ;
You can’t perform that action at this time.
0 commit comments