You've already forked joplin
mirror of
https://github.com/laurent22/joplin.git
synced 2025-07-16 00:14:34 +02:00
This commit is contained in:
@ -108,6 +108,9 @@ module.exports = {
|
|||||||
'semi': ['error', 'always'],
|
'semi': ['error', 'always'],
|
||||||
'eol-last': ['error', 'always'],
|
'eol-last': ['error', 'always'],
|
||||||
'quotes': ['error', 'single'],
|
'quotes': ['error', 'single'],
|
||||||
|
|
||||||
|
// Note that "indent" only applies to JavaScript files. See
|
||||||
|
// https://github.com/laurent22/joplin/issues/8360
|
||||||
'indent': ['error', 'tab'],
|
'indent': ['error', 'tab'],
|
||||||
'comma-dangle': ['error', {
|
'comma-dangle': ['error', {
|
||||||
'arrays': 'always-multiline',
|
'arrays': 'always-multiline',
|
||||||
@ -184,6 +187,12 @@ module.exports = {
|
|||||||
'project': './tsconfig.eslint.json',
|
'project': './tsconfig.eslint.json',
|
||||||
},
|
},
|
||||||
'rules': {
|
'rules': {
|
||||||
|
'@typescript-eslint/indent': ['error', 'tab', {
|
||||||
|
'ignoredNodes': [
|
||||||
|
// See https://github.com/typescript-eslint/typescript-eslint/issues/1824
|
||||||
|
'TSUnionType',
|
||||||
|
],
|
||||||
|
}],
|
||||||
'@typescript-eslint/ban-ts-comment': ['error'],
|
'@typescript-eslint/ban-ts-comment': ['error'],
|
||||||
'@typescript-eslint/ban-types': 'error',
|
'@typescript-eslint/ban-types': 'error',
|
||||||
'@typescript-eslint/explicit-member-accessibility': ['error'],
|
'@typescript-eslint/explicit-member-accessibility': ['error'],
|
||||||
|
Reference in New Issue
Block a user