Skip to content

Commit

Permalink
temp: error
Browse files Browse the repository at this point in the history
  • Loading branch information
G-Rath committed Sep 3, 2024
1 parent 35c9258 commit f1d5b8c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/src/rule-tester.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ export class FlatCompatRuleTester {
return config;
}

if ('env' in config) {
throw new Error("this config has an 'env' property, which won't work with the flat config");
}

const obj = {
languageOptions: { parserOptions: {} },
};
Expand Down

0 comments on commit f1d5b8c

Please sign in to comment.