feat: manually mirror opencoze's code from bytedance
Change-Id: I09a73aadda978ad9511264a756b2ce51f5761adf
This commit is contained in:
17
frontend/config/eslint-config/eslint.config.node.js
Normal file
17
frontend/config/eslint-config/eslint.config.node.js
Normal file
@@ -0,0 +1,17 @@
|
||||
const globals = require('globals');
|
||||
const securityPlugin = require('eslint-plugin-security');
|
||||
|
||||
/** @type {(import('eslint').Linter.Config[])} */
|
||||
module.exports = [
|
||||
...require('./eslint.config.base.js'),
|
||||
securityPlugin.configs.recommended,
|
||||
{
|
||||
languageOptions: {
|
||||
globals: {
|
||||
...globals.node,
|
||||
NodeJS: true,
|
||||
},
|
||||
},
|
||||
rules: {},
|
||||
},
|
||||
];
|
||||
Reference in New Issue
Block a user