You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
21 lines
520 B
21 lines
520 B
// For ES Module Syntax
|
|
export default [
|
|
{
|
|
languageOptions: {
|
|
ecmaVersion: "latest", // Or specify a specific version like 2021, 2020, etc.
|
|
sourceType: "module", // "module" for ES modules, "script" for non-modular code
|
|
globals: {
|
|
// Define global variables that are predefined
|
|
browser: true,
|
|
node: true,
|
|
es6: true,
|
|
},
|
|
},
|
|
rules: {
|
|
"no-unused-vars": "off",
|
|
"semi": ["error", "always"],
|
|
"quotes": ["error", "double"]
|
|
}
|
|
}
|
|
];
|
|
|
|
|