mirror of
https://github.com/hedgedoc/hedgedoc.git
synced 2025-05-15 07:34:42 -04:00
Import meta-files
These files are imported from HedgeDoc 1 / the master branch. Signed-off-by: David Mehren <git@herrmehren.de>
This commit is contained in:
parent
fa91f2afa9
commit
d6d4f35cf5
80 changed files with 14765 additions and 0 deletions
39
.eslintrc.js
Normal file
39
.eslintrc.js
Normal file
|
@ -0,0 +1,39 @@
|
|||
module.exports = {
|
||||
'root': true,
|
||||
'parser': '@typescript-eslint/parser',
|
||||
'parserOptions': {
|
||||
'tsconfigRootDir': __dirname,
|
||||
'project': ['./tsconfig.json'],
|
||||
},
|
||||
'plugins': [
|
||||
'@typescript-eslint',
|
||||
],
|
||||
'extends': [
|
||||
'standard',
|
||||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/eslint-recommended',
|
||||
'plugin:@typescript-eslint/recommended',
|
||||
'plugin:@typescript-eslint/recommended-requiring-type-checking',
|
||||
'plugin:import/recommended',
|
||||
'plugin:import/typescript'
|
||||
],
|
||||
'env': {
|
||||
'node': true
|
||||
},
|
||||
'rules': {
|
||||
// at some point all of these should return to their default "error" state
|
||||
// but right now, this is not a good choice, because too many places are
|
||||
// wrong.
|
||||
'import/first': ['warn'],
|
||||
'indent': ['warn'],
|
||||
'no-console': ['warn'],
|
||||
'no-multiple-empty-lines': ['warn'],
|
||||
'no-multi-spaces': ['warn'],
|
||||
'object-curly-spacing': ['warn'],
|
||||
'one-var': ['warn'],
|
||||
'quotes': ['warn'],
|
||||
'space-infix-ops': ['warn'],
|
||||
'import/no-default-export': ['error'],
|
||||
'@typescript-eslint/no-unused-vars': ['warn', { "argsIgnorePattern": "^_+$" }],
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue