mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-11-10 10:17:11 +03:00
5c00a36c30
…before certain grammars are loaded.
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"
|
|
}
|
|
};
|