fix blacklist and add static create command, change node commands

This commit is contained in:
Rene Kievits
2024-09-16 06:47:19 +02:00
parent 9fd47761b0
commit a065618cdb
12 changed files with 261 additions and 112 deletions

View File

@@ -14,17 +14,14 @@ export default [
'indent': ['error', 2],
'linebreak-style': ['error', 'unix'],
'comma-dangle': ['error', 'always-multiline'],
'no-unused-vars': ['error', {
vars: 'all',
args: 'after-used',
ignoreRestSiblings: true,
caughtErrors: 'none',
argsIgnorePattern: '_',
}],
},
},
{
files: ['**/*.js'],
env:{
'node': true,
'commonjs': true,
},
languageOptions: {
sourceType: 'commonjs',
ecmaVersion: 2021,
@@ -52,7 +49,7 @@ export default [
},
{
languageOptions: {
globals: globals.browser,
globals: globals.node,
},
},
pluginJs.configs.recommended,