annotate client/.eslintrc.js @ 13:88d0d60924cf
Move vuejs app into subdir `client`
Using a subdirectory for the web application keeps more structure
in the repo.
author |
Bernhard Reiter <bernhard@intevation.de> |
date |
Wed, 20 Jun 2018 17:02:06 +0200 |
parents |
.eslintrc.js@1597506a2241 |
children |
3907a7b98067 |
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 } |