mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-17 15:10:22 +03:00
36 lines
594 B
JavaScript
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"
|
|
}
|
|
};
|