mirror of
https://github.com/zadam/trilium.git
synced 2025-06-06 18:08:33 +02:00
more prettier removals
This commit is contained in:
parent
6f1e6402f0
commit
f46ce0417d
10
.eslintrc.js
10
.eslintrc.js
@ -5,8 +5,7 @@ module.exports = {
|
|||||||
es2021: true,
|
es2021: true,
|
||||||
node: true,
|
node: true,
|
||||||
},
|
},
|
||||||
// plugins: ['prettier'], // to be activated
|
extends: ['eslint:recommended', 'airbnb-base', 'plugin:jsonc/recommended-with-jsonc'],
|
||||||
extends: ['eslint:recommended', 'airbnb-base', 'plugin:jsonc/recommended-with-jsonc', 'prettier'],
|
|
||||||
overrides: [
|
overrides: [
|
||||||
{
|
{
|
||||||
files: ['*.json', '*.json5', '*.jsonc'],
|
files: ['*.json', '*.json5', '*.jsonc'],
|
||||||
@ -111,7 +110,7 @@ module.exports = {
|
|||||||
__non_webpack_require__: true,
|
__non_webpack_require__: true,
|
||||||
describe: true,
|
describe: true,
|
||||||
it: true,
|
it: true,
|
||||||
expect: true
|
expect: true,
|
||||||
},
|
},
|
||||||
parserOptions: {
|
parserOptions: {
|
||||||
ecmaVersion: 'latest',
|
ecmaVersion: 'latest',
|
||||||
@ -130,9 +129,6 @@ module.exports = {
|
|||||||
'no-extra-semi': 'off',
|
'no-extra-semi': 'off',
|
||||||
'no-inner-declarations': 'off',
|
'no-inner-declarations': 'off',
|
||||||
|
|
||||||
// prettier
|
|
||||||
'prettier/prettier': ['off', { endOfLine: 'auto' }],
|
|
||||||
|
|
||||||
// airbnb-base
|
// airbnb-base
|
||||||
'no-console': 'off',
|
'no-console': 'off',
|
||||||
'no-plusplus': 'off',
|
'no-plusplus': 'off',
|
||||||
@ -207,6 +203,6 @@ module.exports = {
|
|||||||
'import/no-named-as-default-member': 'off',
|
'import/no-named-as-default-member': 'off',
|
||||||
yoda: 'off',
|
yoda: 'off',
|
||||||
'no-script-url': 'off',
|
'no-script-url': 'off',
|
||||||
'no-prototype-builtins':'off'
|
'no-prototype-builtins': 'off',
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
@ -1,13 +0,0 @@
|
|||||||
//https://prettier.io/docs/en/options.html
|
|
||||||
module.exports = {
|
|
||||||
semi: true,
|
|
||||||
trailingComma: 'none',
|
|
||||||
singleQuote: true,
|
|
||||||
printWidth: 100,
|
|
||||||
tabWidth: 4,
|
|
||||||
useTabs: false,
|
|
||||||
quoteProps: "as-needed",
|
|
||||||
bracketSpacing: true,
|
|
||||||
arrowParens: "avoid"
|
|
||||||
// htmlWhitespaceSensitivity: 'ignore',
|
|
||||||
};
|
|
1
.vscode/extensions.json
vendored
1
.vscode/extensions.json
vendored
@ -1,6 +1,5 @@
|
|||||||
{
|
{
|
||||||
"recommendations": [
|
"recommendations": [
|
||||||
"dbaeumer.vscode-eslint",
|
"dbaeumer.vscode-eslint",
|
||||||
"esbenp.prettier-vscode",
|
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user