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.
24 lines
570 B
24 lines
570 B
"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: [] }], |
|
}, |
|
}
|
|
|