mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2026-09-09 18:02:54 +00:00
* [ACS-10956] ACS-10956 updates eslint for more files * [ACS-10956] eslint update * Revert package-lock.json changes * Revert package-lock.json to develop version * testing eslint changes 1 * [ACS-10956] updated eslint for e2e folder * [ACS-10956] added eslint for aca-playwright-shared file * Sync package-lock.json with develop * [ACS-10956] eslint e2e now uses playwright and angular plugin. * [ACS-10956] changed error to warn for no-angular-material-selectors * [ACS-10956] two rules turned off for aca-playwright-shared * [ACS-10956] reverted changes for spec files * [ACS-10956] changed back to error * [ACS-10956] first eslint fixes * [ACS-10956] more eslint fixes * [ACS-10956] more eslint fixes pt 23 * [ACS-10956] last lintfix fixes * [ACS-10956] sonar fixes 1 * [ACS-10956] reverted package-lock.json * [ACS-10956] test fixes after the eslint changes 1 * [ACS-10956] sonar fix2 * [ACS-10956] test fixes after eslint update 24
26 lines
692 B
JavaScript
26 lines
692 B
JavaScript
const path = require('path');
|
|
module.exports = {
|
|
extends: ['../../.eslintrc.json', '../../.eslintrc.e2e.json'],
|
|
ignorePatterns: ['!**/*'],
|
|
overrides: [
|
|
{
|
|
files: ['*.ts'],
|
|
parserOptions: {
|
|
project: [path.join(__dirname, 'tsconfig.lib.json'), path.join(__dirname, 'tsconfig.spec.json')],
|
|
createDefaultProgram: true
|
|
},
|
|
rules: {
|
|
'no-console': ['error', {'allow': ['info', 'log', 'warn', 'error'] }],
|
|
'playwright/no-raw-locators': 'off'
|
|
}
|
|
},
|
|
{
|
|
files: ['*.js'],
|
|
rules: {
|
|
'@typescript-eslint/no-floating-promises': 'off',
|
|
'@typescript-eslint/no-misused-promises': 'off'
|
|
}
|
|
}
|
|
]
|
|
};
|