awesome-docker/.eslintrc.js

34 lines
616 B
Markdown
Raw Normal View History

2018-03-17 15:27:41 +00:00
module.exports = {
2020-01-11 08:09:10 +00:00
env: {
browser: true,
2020-04-13 14:15:18 +00:00
node: true,
2020-01-11 08:09:10 +00:00
},
extends: [
'airbnb-base',
'plugin:import/errors',
'plugin:import/warnings',
2020-04-13 14:15:18 +00:00
'prettier',
'eslint:recommended',
2020-01-11 08:09:10 +00:00
],
plugins: ['import', 'prettier'],
rules: {
2020-04-13 14:15:18 +00:00
camelcase: 0,
2020-01-11 08:09:10 +00:00
'import/order': [
'error',
{
groups: ['builtin', 'external', 'parent', 'sibling', 'index'],
2020-04-13 14:15:18 +00:00
'newlines-between': 'never',
},
2020-01-11 08:09:10 +00:00
],
'no-console': 0,
'prefer-template': 2,
'prettier/prettier': [
'error',
{
singleQuote: true,
2020-04-13 14:15:18 +00:00
trailingComma: 'all',
},
],
},
2020-01-11 08:09:10 +00:00
};