mirror of
https://github.com/D00Movenok/HTMLSmuggler
synced 2026-06-08 10:49:16 +00:00
35 lines
687 B
JavaScript
35 lines
687 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true,
|
|
},
|
|
extends: ["airbnb-base", "prettier"],
|
|
plugins: ["simple-import-sort"],
|
|
overrides: [
|
|
{
|
|
env: {
|
|
node: true,
|
|
},
|
|
files: [".eslintrc.{js,cjs}"],
|
|
parserOptions: {
|
|
sourceType: "script",
|
|
},
|
|
},
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: "latest",
|
|
sourceType: "module",
|
|
},
|
|
rules: {
|
|
"import/prefer-default-export": "off",
|
|
"simple-import-sort/imports": "error",
|
|
"simple-import-sort/exports": "error",
|
|
},
|
|
ignorePatterns: ["examples/**/payload.*.js"],
|
|
globals: {
|
|
CONFIG_COMPRESS: true,
|
|
CONFIG_ANTIBOT: true,
|
|
CONFIG_DELAY: true,
|
|
},
|
|
};
|