You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

30 lines
802 B

module.exports = {
root: true,
env: {
browser: true,
node: true
},
extends: [
'@nuxtjs',
'plugin:nuxt/recommended',
'@nuxtjs/eslint-config-typescript',
'prettier/@typescript-eslint'
],
rules: {
'no-console': 'off',
'no-restricted-syntax': [
'error',
{
selector: "CallExpression[callee.object.name='console'][callee.property.name!=/^(log|warn|error|info|trace)$/]",
message: 'Unexpected property on console object was called'
}
],
'vue/valid-template-root': 'off',
'space-before-function-paren': ['error', 'never'],
'no-useless-constructor': 'off',
'@typescript-eslint/no-useless-constructor': 'off',
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'off',
camelcase: 'off'
}
}