@innotec/eslint-config-shared
Version:
Contains shared typescript-eslint configuration for frontend projects
44 lines • 987 B
JavaScript
module.exports = {
root: true,
env: {
'browser': true,
'es6': true
},
parser: '@typescript-eslint/parser',
plugins: [
'@typescript-eslint',
],
extends: [
'eslint:recommended',
'plugin:@typescript-eslint/eslint-recommended',
'plugin:@typescript-eslint/recommended',
"prettier/@typescript-eslint"
],
rules: {
'multiline-comment-style': [
"error",
"starred-block"
],
'newline-after-var': [
"error",
"always"
],
'sort-imports': [
"error", {
"ignoreCase": true,
"ignoreDeclarationSort": true,
"ignoreMemberSort": false,
"memberSyntaxSortOrder": [
"none",
"all",
"multiple",
"single"
]
}
],
'@typescript-eslint/explicit-function-return-type': "off",
'@typescript-eslint/no-explicit-any': "off",
'@typescript-eslint/interface-name-prefix': "off",
'@typescript-eslint/camelcase': "off"
},
};