21 lines
No EOL
429 B
JavaScript
21 lines
No EOL
429 B
JavaScript
const globals = require("globals");
|
|
const pluginJs = require("@eslint/js");
|
|
const eslintPluginPrettierRecommended = require("eslint-plugin-prettier/recommended");
|
|
|
|
module.exports = [
|
|
{
|
|
files: ["**/*.js"],
|
|
languageOptions: {
|
|
sourceType: "commonjs"
|
|
}
|
|
},
|
|
{
|
|
languageOptions: {
|
|
globals: {
|
|
...globals.node
|
|
}
|
|
}
|
|
},
|
|
pluginJs.configs.recommended,
|
|
eslintPluginPrettierRecommended
|
|
]; |