bigint-crypto-utils/node_modules/eslint-plugin-node/lib/configs/recommended-script.js

25 lines
570 B
JavaScript
Raw Normal View History

"use strict"
const { commonGlobals, commonRules } = require("./_commons")
module.exports = {
globals: {
...commonGlobals,
__dirname: "readonly",
__filename: "readonly",
exports: "writable",
module: "readonly",
require: "readonly",
},
parserOptions: {
ecmaFeatures: { globalReturn: true },
ecmaVersion: 2019,
sourceType: "script",
},
plugins: ["node"],
rules: {
...commonRules,
"node/no-unsupported-features/es-syntax": ["error", { ignores: [] }],
},
}