deliveries/eslint.config.mjs
2024-10-04 19:05:21 -04:00

20 lines
383 B
JavaScript

import globals from "globals";
import pluginJs from "@eslint/js";
import stylistic from '@stylistic/eslint-plugin';
export default [
pluginJs.configs.recommended,
{
languageOptions: {
globals: globals.node
},
plugins: {
'@stylistic': stylistic
},
rules : {
'@stylistic/indent': ['error', 2],
'no-useless-escape' : 'off'
}
}
];