forked from CosmosContracts/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.eslintrc.js
27 lines (27 loc) · 824 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
module.exports = {
root: true,
extends: [
'@nuxtjs/eslint-config-typescript',
'plugin:vue/vue3-recommended',
'plugin:nuxt/recommended',
'eslint:recommended',
'@vue/eslint-config-typescript/recommended'
],
parserOptions: {
ecmaVersion: 'latest'
},
rules: {
'no-undef': 'off',
semi: ['error', 'never'],
'padding-line-between-statements': [
'error',
{ blankLine: 'always', prev: ['const', 'let', 'var'], next: '*' },
{ blankLine: 'any', prev: ['const', 'let', 'var'], next: ['const', 'let', 'var'] },
{ blankLine: 'always', prev: '*', next: 'return' }
],
'vue/multi-word-component-names': 'off', // Nuxt uses some single word components
curly: ['error', 'multi'],
'space-before-function-paren': 'off',
'func-call-spacing': 'off'
}
}