Skip to content

Commit a40c10a

Browse files
fix: set correct eslint config
1 parent 2198bf1 commit a40c10a

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.eslintrc.json

+22
Original file line numberDiff line numberDiff line change
@@ -251,6 +251,28 @@
251251
]
252252
}
253253
},
254+
{
255+
"files": [ "plugins/content/api/positioning/**/*.js" ],
256+
"parserOptions": {
257+
"ecmaVersion": 2023,
258+
"sourceType": "module"
259+
},
260+
"env": {
261+
"node": true,
262+
"es2023": true
263+
}
264+
},
265+
{
266+
"files": [ "plugins/content/api/positioning/**/*.cjs" ],
267+
"parserOptions": {
268+
"ecmaVersion": 2023,
269+
"sourceType": "commonjs"
270+
},
271+
"env": {
272+
"node": true,
273+
"es2023": true
274+
}
275+
},
254276
{
255277
"files": [
256278
"api/**/*.js",

0 commit comments

Comments
 (0)