mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-28 14:03:48 +03:00
24af5ad0dd
refs https://github.com/TryGhost/Team/issues/1780 This commit adds some Cypress tests as a POC to the project. If we decide to go with Cypress, we can add more tests to cover the rest of the codebase. The main reason to have a E2E framework is that some editor related UI is hard to test with the React tests because it uses JSDOM.
23 lines
630 B
JavaScript
23 lines
630 B
JavaScript
/* eslint-env node */
|
|
module.exports = {
|
|
root: true,
|
|
extends: [
|
|
'react-app',
|
|
'plugin:ghost/browser',
|
|
'plugin:cypress/recommended'
|
|
],
|
|
plugins: [
|
|
'ghost',
|
|
'tailwindcss'
|
|
],
|
|
rules: {
|
|
'tailwindcss/classnames-order': 'error',
|
|
'tailwindcss/enforces-negative-arbitrary-values': 'off',
|
|
'tailwindcss/enforces-shorthand': 'warn',
|
|
'tailwindcss/migration-from-tailwind-2': 'warn',
|
|
'tailwindcss/no-arbitrary-value': 'off',
|
|
'tailwindcss/no-custom-classname': 'off',
|
|
'tailwindcss/no-contradicting-classname': 'error'
|
|
}
|
|
};
|