deliveries/eslint.config.mjs

20 lines
383 B
JavaScript
Raw Permalink Normal View History

2024-10-04 22:41:01 +00:00
import globals from "globals";
import pluginJs from "@eslint/js";
import stylistic from '@stylistic/eslint-plugin';
export default [
2024-10-04 23:05:21 +00:00
pluginJs.configs.recommended,
2024-10-04 22:41:01 +00:00
{
languageOptions: {
globals: globals.node
},
plugins: {
'@stylistic': stylistic
},
rules : {
'@stylistic/indent': ['error', 2],
'no-useless-escape' : 'off'
}
2024-10-04 23:05:21 +00:00
}
2024-10-04 22:41:01 +00:00
];