mirror of
https://gitee.com/ShopeX/ECShopX
synced 2026-08-12 22:15:39 +08:00
4.4.0
This commit is contained in:
20
tdd-guard/test/artifacts/javascript/eslint.config.js
Normal file
20
tdd-guard/test/artifacts/javascript/eslint.config.js
Normal file
@@ -0,0 +1,20 @@
|
||||
module.exports = [
|
||||
{
|
||||
files: ['**/*.js'],
|
||||
rules: {
|
||||
'no-unused-vars': 'error',
|
||||
'no-var': 'error',
|
||||
'semi': ['error', 'always'],
|
||||
'quotes': ['error', 'single'],
|
||||
'no-duplicate-string': 'off',
|
||||
'max-params': ['error', 5]
|
||||
},
|
||||
languageOptions: {
|
||||
ecmaVersion: 2020,
|
||||
sourceType: 'module'
|
||||
}
|
||||
},
|
||||
{
|
||||
ignores: ['node_modules/**', 'dist/**', 'coverage/**']
|
||||
}
|
||||
];
|
||||
Reference in New Issue
Block a user