updeep-remeda/.eslintrc.js

46 lines
796 B
JavaScript
Raw Normal View History

const config = {
parserOptions: {
ecmaVersion: 2018,
},
env: {
node: true,
},
2017-04-19 00:55:46 +00:00
"extends": [
"airbnb-base",
"prettier"
],
"plugins": [
"prettier"
],
2017-04-19 00:47:53 +00:00
"rules": {
2017-04-19 00:55:46 +00:00
"prettier/prettier": [
"error",
{
"bracketSpacing": true,
"semi": false,
"singleQuote": true,
"trailingComma": "es5"
}
],
2017-04-19 00:47:53 +00:00
"no-confusing-arrow": "off",
"comma-dangle": ["error", {
"arrays": "always-multiline",
"objects": "always-multiline",
"imports": "always-multiline",
"exports": "always-multiline",
"functions": "never"
}]
},
overrides: [
{
files: ['**/*.d.ts'],
rules: {
strict: 'off',
'no-var': 'off',
},
},
]
2015-07-31 15:53:25 +00:00
}
module.exports = config