20 lines
383 B
JavaScript
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'
|
|
}
|
|
}
|
|
];
|