deliveries/eslint.config.mjs
2024-10-04 18:41:01 -04:00

20 lines
384 B
JavaScript

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