mirror of
https://github.com/documize/community.git
synced 2025-07-19 13:19:43 +02:00
66 lines
1.1 KiB
JavaScript
66 lines
1.1 KiB
JavaScript
module.exports = {
|
|
root: true,
|
|
parserOptions: {
|
|
ecmaVersion: 2017,
|
|
sourceType: 'module'
|
|
},
|
|
plugins: [
|
|
'ember'
|
|
],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:ember/recommended'
|
|
],
|
|
env: {
|
|
browser: true
|
|
},
|
|
rules: {
|
|
},
|
|
overrides: [
|
|
// node files
|
|
{
|
|
files: [
|
|
'testem.js',
|
|
'ember-cli-build.js',
|
|
'config/**/*.js'
|
|
],
|
|
parserOptions: {
|
|
sourceType: 'script',
|
|
ecmaVersion: 2015
|
|
},
|
|
env: {
|
|
browser: false,
|
|
node: true
|
|
}
|
|
},
|
|
|
|
// test files
|
|
{
|
|
files: ['tests/**/*.js'],
|
|
excludedFiles: ['tests/dummy/**/*.js'],
|
|
env: {
|
|
embertest: true
|
|
}
|
|
}
|
|
],
|
|
globals: {
|
|
"is": true,
|
|
"mermaid": true,
|
|
"_": true,
|
|
"tinymce": true,
|
|
"CodeMirror": true,
|
|
"Mousetrap": true,
|
|
"Sortable": true,
|
|
"moment": true,
|
|
"Dropzone": true,
|
|
"server": true,
|
|
"authenticateUser": true,
|
|
"stubAudit": true,
|
|
"stubUserNotification": true,
|
|
"userLogin": true,
|
|
"Keycloak": true,
|
|
"slug": true,
|
|
"interact": true,
|
|
"velocity": true
|
|
}
|
|
};
|