mirror of
https://github.com/joomla/joomla-cms.git
synced 2024-06-27 15:43:43 +00:00
7611824c5c
* tests * api * artiucles crud * banners * contact * media * media * Remove codeception * cs * more traces of codeception * readd certs * dependencies * more deps * secret * cs * better doc * write * config workaround * cs * revert * prepare db for api tests * variable * revert pool * end connections * no limit * cs * prefix * Update tests/cypress/drone-system-run.sh * run specific specs in drone * Update tests/README.md Co-authored-by: Brian Teeman <brian@teeman.net> * Update tests/cypress/integration/api/com_media/Files.cy.js Co-authored-by: Brian Teeman <brian@teeman.net> * Update tests/cypress/integration/api/com_media/Files.cy.js Co-authored-by: Brian Teeman <brian@teeman.net> * postgres * media on postgres * sign * cs * remove more traces * basic api tests * cleanup * path * run recursive specs * chmod images folder * path to cms * correct dependencies and better cleanup * cleaner deps * Update tests/cypress/drone-system-run.sh Co-authored-by: Brian Teeman <brian@teeman.net> * missing fields * stabilize cleanup * cs * secret in install test * order of tests * optimize cleanup * cs * cache the connection * revert connection cache * docs * Rename cypress to system * lint * simplification and docs * docs * better cleanup * move * merge conflict * remove redundant connect --------- Co-authored-by: Brian Teeman <brian@teeman.net>
76 lines
1.8 KiB
Plaintext
76 lines
1.8 KiB
Plaintext
{
|
|
"extends": [
|
|
// Extend the airbnb eslint config
|
|
"airbnb-base",
|
|
// Vue
|
|
"plugin:vue/vue3-recommended"
|
|
],
|
|
"parserOptions": {
|
|
"sourceType": "module"
|
|
},
|
|
// ESLint will not look in parent folders for eslint configs
|
|
"root": true,
|
|
// An environment defines global variables that are predefined.
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
// Additional global variables your script accesses during execution
|
|
"globals": {
|
|
"Joomla": true,
|
|
"MediaManager" : true,
|
|
"bootstrap": true
|
|
},
|
|
// Rule overrides
|
|
"rules": {
|
|
// Disable no-params-reassign for properties
|
|
"no-param-reassign": ["error", { "props": false }],
|
|
// Allow usage of dev-dependencies in js files in build directory
|
|
"import/no-extraneous-dependencies": ["error", {"devDependencies": ["build/**/*.js"]}],
|
|
// Allow strict mode (we are not dealing with modules)
|
|
"strict": [0],
|
|
// Disable alert rule till we have a CE in place
|
|
"no-alert": 0,
|
|
// Max length to match the .php files
|
|
"max-len": ["error",
|
|
150,
|
|
2,
|
|
{
|
|
"ignoreUrls": true,
|
|
"ignoreComments": false,
|
|
"ignoreRegExpLiterals": true,
|
|
"ignoreStrings": true,
|
|
"ignoreTemplateLiterals": true
|
|
}
|
|
],
|
|
// Allow extensions on imports
|
|
"import/extensions": 0,
|
|
"func-names": [
|
|
"error",
|
|
"as-needed"
|
|
]
|
|
},
|
|
"overrides": [
|
|
{
|
|
"files": ["tests/**/*.js"],
|
|
"rules": {
|
|
"no-undef": ["off"],
|
|
"import/no-extraneous-dependencies": ["off"]
|
|
}
|
|
},
|
|
{
|
|
"files": ["tests/System/support/index.js"],
|
|
"rules": {
|
|
"no-console": ["off"]
|
|
}
|
|
},
|
|
{
|
|
"files": ["tests/System/support/commands/db.js","tests/System/plugins/index.js"],
|
|
"rules": {
|
|
"no-useless-escape": ["off"]
|
|
}
|
|
}
|
|
]
|
|
}
|