annotate .eslintrc.js @ 10:361ae8211991
vue-cli
refactored to component local state
author |
Thomas Junk <thomas.junk@intevation.de> |
date |
Mon, 18 Jun 2018 12:11:35 +0200 |
parents |
1597506a2241 |
children |
|
rev |
line source |
3
|
1 module.exports = {
|
|
2 root: true,
|
|
3 env: {
|
|
4 node: true
|
|
5 },
|
|
6 'extends': [
|
|
7 'plugin:vue/essential',
|
|
8 '@vue/prettier'
|
|
9 ],
|
|
10 rules: {
|
|
11 'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
|
|
12 'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
|
|
13 },
|
|
14 parserOptions: {
|
|
15 parser: 'babel-eslint'
|
|
16 }
|
|
17 } |