utils/.eslintrc.cjs

27 lines
380 B
JavaScript
Raw Normal View History

2024-01-27 06:25:35 +00:00
module.exports = {
env: {
browser: false,
es2021: true,
},
extends: [
"eslint:recommended",
"prettier", // Make sure this is the last
],
overrides: [
{
env: {
node: true,
},
files: [".eslintrc.{js,cjs}"],
parserOptions: {
sourceType: "script",
},
},
],
parserOptions: {
ecmaVersion: "latest",
sourceType: "module",
},
rules: {},
};