pulsar/.eslintrc.js
Andrew Dupont 5c00a36c30 [styleguide] Fix error when styleguide is shown…
…before certain grammars are loaded.
2023-07-18 12:21:42 -07:00

36 lines
594 B
JavaScript

module.exports = {
env: {
browser: true,
commonjs: true,
es2021: true,
},
extends: [
"eslint:recommended",
"plugin:node/recommended",
// "plugin:jsdoc/recommended"
],
overrides: [],
parserOptions: {
ecmaVersion: "latest"
},
rules: {
"space-before-function-paren": ["error", {
anonymous: "always",
asyncArrow: "always",
named: "never"
}],
"node/no-unpublished-require": [
"error",
{
allowModules: ["electron"]
}
]
},
plugins: [
"jsdoc"
],
globals: {
atom: "writeable"
}
};