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.
27 lines
590 B
27 lines
590 B
"use strict" |
|
|
|
const { commonGlobals, commonRules } = require("./_commons") |
|
|
|
module.exports = { |
|
globals: { |
|
...commonGlobals, |
|
__dirname: "off", |
|
__filename: "off", |
|
exports: "off", |
|
module: "off", |
|
require: "off", |
|
}, |
|
parserOptions: { |
|
ecmaFeatures: { globalReturn: false }, |
|
ecmaVersion: 2019, |
|
sourceType: "module", |
|
}, |
|
plugins: ["node"], |
|
rules: { |
|
...commonRules, |
|
"node/no-unsupported-features/es-syntax": [ |
|
"error", |
|
{ ignores: ["modules"] }, |
|
], |
|
}, |
|
}
|
|
|