Skip to content

Commit f0ca88e

Browse files
committed
Put configs under configs key
1 parent 2678bc0 commit f0ca88e

File tree

1 file changed

+9
-3
lines changed

1 file changed

+9
-3
lines changed

lib/recommended.mjs

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ export const plugin = emberPlugin;
88
export const parser = emberParser;
99

1010
export const base = {
11+
files: ['**/*.{js,ts}'],
1112
plugins: { ember: emberPlugin },
1213
rules: {
1314
...baseRules,
@@ -37,6 +38,9 @@ export const gts = {
3738
files: ['**/*.gts'],
3839
languageOptions: {
3940
parser: emberParser,
41+
parserOptions: {
42+
extraFileExtensions: ['.gts'],
43+
},
4044
// parser options should be supplied in the consuming project
4145
},
4246
processor: 'ember/noop',
@@ -51,7 +55,9 @@ export default {
5155
plugin,
5256
parser,
5357
// Recommended config sets
54-
base,
55-
gjs,
56-
gts,
58+
configs: {
59+
base,
60+
gjs,
61+
gts,
62+
},
5763
};

0 commit comments

Comments
 (0)