mirror of https://github.com/doccano/doccano.git
pythondatasetsactive-learningtext-annotationdatasetnatural-language-processingdata-labelingmachine-learningannotation-tool
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.
31 lines
803 B
31 lines
803 B
module.exports = {
|
|
root: true,
|
|
env: {
|
|
browser: true,
|
|
node: true
|
|
},
|
|
extends: [
|
|
'@nuxtjs',
|
|
'plugin:nuxt/recommended',
|
|
'@nuxtjs/eslint-config-typescript',
|
|
'prettier',
|
|
'prettier/vue'
|
|
],
|
|
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'
|
|
}
|
|
}
|