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 e448dfc commit 91c8690Copy full SHA for 91c8690
1 file changed
.eslintrc.js
@@ -1,4 +1,6 @@
1
-const stylistic = require('@stylistic/eslint-plugin');
+import stylistic from '@stylistic/eslint-plugin';
2
+
3
+const __dirname = import.meta.dirname;
4
5
const stylisticConfig = stylistic.configs.customize({
6
semi: true,
@@ -7,7 +9,7 @@ const stylisticConfig = stylistic.configs.customize({
7
9
quoteProps: 'as-needed',
8
10
});
11
-module.exports = {
12
+export default {
13
env: {
14
node: true,
15
'jest/globals': true,
0 commit comments