mirror of
https://github.com/aleleba/create-node-ts-graphql-server.git
synced 2025-01-08 04:56:46 -06:00
Alejandro Lembke Barrientos
b55b0f61a9
Adding files from first version. Creating GraphQL server with their controllers and their models, squema and resolvers. Adding support to webpack and typescript.
38 lines
518 B
JavaScript
38 lines
518 B
JavaScript
module.exports = {
|
|
'env': {
|
|
'browser': true,
|
|
'es2021': true,
|
|
'node': true,
|
|
},
|
|
'extends': [
|
|
'eslint:recommended',
|
|
'plugin:@typescript-eslint/recommended'
|
|
],
|
|
'parser': '@typescript-eslint/parser',
|
|
'parserOptions': {
|
|
'ecmaVersion': 'latest',
|
|
'sourceType': 'module'
|
|
},
|
|
'plugins': [
|
|
'@typescript-eslint'
|
|
],
|
|
'rules': {
|
|
'indent': [
|
|
'error',
|
|
'tab'
|
|
],
|
|
'linebreak-style': [
|
|
'error',
|
|
'unix'
|
|
],
|
|
'quotes': [
|
|
'error',
|
|
'single'
|
|
],
|
|
'semi': [
|
|
'error',
|
|
'always'
|
|
]
|
|
}
|
|
};
|