16:3 error Property name `my_var` must match one of the following formats: camelCase, UPPER_CASE, PascalCase @typescript-eslint/naming-convention
16:3 error Identifier 'type_array' is not in camel case
16:3 error Property name `my_var_id` must match one of the following formats: camelCase, UPPER_CASE, PascalCase
module.exports = {
env: {
es6: true,
node: true,
},
rules: {
'@typescript-eslint/naming-convention': [
'error',
{
selector: 'default',
format: [
'camelCase',
'strictCamelCase',
'PascalCase',
'StrictPascalCase',
'snake_case',
'UPPER_CASE',
],
leadingUnderscore: 'allow',
trailingUnderscore: 'allow',
},
],
},
};