substrings
Version:
Looks for substrings found between two given delimiting strings. Find all results and return an array or find the first result and return it.
24 lines (21 loc) • 405 B
JavaScript
// ESLint Config
module.exports = {
env: {
browser: true,
commonjs: true,
es6: true,
node: true,
amd: true,
},
extends: "eslint:recommended",
parserOptions: {
sourceType: "module"
},
rules: {
indent: ["error", 2],
quotes: ["error", "double"],
semi: ["error", "never"],
"no-console": "off",
"space-before-function-paren": ["error", "always"]
}
}