Add and configure eslint
This commit is contained in:
parent
8202c1879b
commit
584471969e
6 changed files with 15351 additions and 99 deletions
23
front/.eslintrc.js
Normal file
23
front/.eslintrc.js
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
module.exports = {
|
||||
env: {
|
||||
browser: true,
|
||||
es6: true
|
||||
},
|
||||
extends: [
|
||||
'plugin:vue/recommended',
|
||||
'standard'
|
||||
],
|
||||
globals: {
|
||||
Atomics: 'readonly',
|
||||
SharedArrayBuffer: 'readonly'
|
||||
},
|
||||
parserOptions: {
|
||||
ecmaVersion: 2018,
|
||||
sourceType: 'module'
|
||||
},
|
||||
plugins: [
|
||||
'vue'
|
||||
],
|
||||
rules: {
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue