2020-06-12 20:03:43 +00:00
|
|
|
// License: AGPL-3.0-or-later WITH WTO-AP-3.0-or-later
|
|
|
|
// Full license explanation at https://github.com/houdiniproject/houdini/blob/master/LICENSE
|
2020-06-26 21:50:19 +00:00
|
|
|
|
|
|
|
|
2018-03-25 17:30:42 +00:00
|
|
|
module.exports = {
|
2020-06-26 21:50:19 +00:00
|
|
|
root: true,
|
|
|
|
|
|
|
|
overrides: [
|
|
|
|
{
|
|
|
|
"files": ['**/*.ts'],
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
plugins: [
|
|
|
|
'@typescript-eslint',
|
|
|
|
],
|
|
|
|
extends: [
|
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
]
|
2020-06-27 00:20:12 +00:00
|
|
|
},
|
|
|
|
{
|
|
|
|
"files": ['**/*.spec.ts'],
|
|
|
|
parser: '@typescript-eslint/parser',
|
|
|
|
plugins: [
|
|
|
|
'@typescript-eslint',
|
|
|
|
'jest'
|
|
|
|
],
|
|
|
|
extends: [
|
|
|
|
'eslint:recommended',
|
|
|
|
'plugin:@typescript-eslint/recommended',
|
|
|
|
'plugin:jest/all'
|
|
|
|
],
|
|
|
|
rules:{
|
|
|
|
"jest/lowercase-name": ["error", { "ignore": ["describe"]}]
|
|
|
|
}
|
|
|
|
}
|
2020-06-26 21:50:19 +00:00
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"linebreak-style": [
|
|
|
|
"error",
|
|
|
|
"unix"
|
|
|
|
],
|
|
|
|
"semi": [
|
|
|
|
"error",
|
2020-06-26 23:18:41 +00:00
|
|
|
"always"
|
2020-06-27 00:24:36 +00:00
|
|
|
],
|
|
|
|
"no-trailing-spaces": ["error"]
|
2020-06-26 21:50:19 +00:00
|
|
|
}
|
2018-03-25 17:30:42 +00:00
|
|
|
};
|