Github Actions for PR

This commit is contained in:
Julien Bisconti
2020-04-13 16:15:18 +02:00
parent 9e09f33925
commit bf2e6ae389
8 changed files with 381 additions and 29 deletions

View File

@@ -1,22 +1,24 @@
module.exports = {
env: {
browser: true,
node: true
node: true,
},
extends: [
'airbnb-base',
'plugin:import/errors',
'plugin:import/warnings',
'prettier'
'prettier',
'eslint:recommended',
],
plugins: ['import', 'prettier'],
rules: {
camelcase: 0,
'import/order': [
'error',
{
groups: ['builtin', 'external', 'parent', 'sibling', 'index'],
'newlines-between': 'never'
}
'newlines-between': 'never',
},
],
'no-console': 0,
'prefer-template': 2,
@@ -24,8 +26,8 @@ module.exports = {
'error',
{
singleQuote: true,
trailingComma: 'all'
}
]
}
trailingComma: 'all',
},
],
},
};