mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-26 05:04:05 -08:00
refactor: Disable ESLint indent
rule (no-changelog) (#4828)
* 👕 Disable ESLint `indent` rule * 🔥 Remove redundant rule
This commit is contained in:
parent
1722c6b0c5
commit
7b819ad5a1
|
@ -129,6 +129,13 @@ const config = (module.exports = {
|
||||||
*/
|
*/
|
||||||
'no-void': ['error', { allowAsStatement: true }],
|
'no-void': ['error', { allowAsStatement: true }],
|
||||||
|
|
||||||
|
/**
|
||||||
|
* https://eslint.org/docs/latest/rules/indent
|
||||||
|
*
|
||||||
|
* Delegated to Prettier.
|
||||||
|
*/
|
||||||
|
indent: 'off',
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* https://eslint.org/docs/latest/rules/sort-imports
|
* https://eslint.org/docs/latest/rules/sort-imports
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -28,7 +28,6 @@ module.exports = {
|
||||||
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||||
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
||||||
semi: [2, 'always'],
|
semi: [2, 'always'],
|
||||||
indent: ['error', 'tab'],
|
|
||||||
'comma-dangle': ['error', 'always-multiline'],
|
'comma-dangle': ['error', 'always-multiline'],
|
||||||
'no-tabs': 0,
|
'no-tabs': 0,
|
||||||
'no-labels': 0,
|
'no-labels': 0,
|
||||||
|
|
Loading…
Reference in a new issue