Skip to content

Commit a54516d

Browse files
committed
chore: Set severity of n/no-extraneous-import and n/no-unsupported-features/node-builtins to warn, because tests in ember-cli fail otherwise
1 parent e41b806 commit a54516d

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

blueprints/app/files/_js_eslint.config.mjs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -122,5 +122,8 @@ export default [
122122
...globals.node,
123123
},
124124
},
125+
rules: {
126+
'n/no-extraneous-import': 'warn',
127+
},
125128
},
126129
];

blueprints/app/files/_ts_eslint.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -145,5 +145,9 @@ export default ts.config(
145145
...globals.node,
146146
},
147147
},
148+
rules: {
149+
'n/no-extraneous-import': 'warn',
150+
'n/no-unsupported-features/node-builtins': 'warn',
151+
},
148152
},
149153
);

0 commit comments

Comments
 (0)