2018-05-28 04:54:38 -04:00
|
|
|
env:
|
|
|
|
browser: true
|
|
|
|
es6: true
|
|
|
|
extends:
|
|
|
|
- airbnb-base
|
2018-10-09 11:25:53 -04:00
|
|
|
- prettier
|
2018-05-28 04:54:38 -04:00
|
|
|
- plugin:vue/recommended
|
|
|
|
globals:
|
|
|
|
__webpack_public_path__: true
|
|
|
|
gl: false
|
|
|
|
gon: false
|
|
|
|
localStorage: false
|
|
|
|
parserOptions:
|
|
|
|
parser: babel-eslint
|
|
|
|
plugins:
|
|
|
|
- filenames
|
|
|
|
- import
|
|
|
|
- html
|
|
|
|
- promise
|
|
|
|
settings:
|
|
|
|
html/html-extensions:
|
2018-10-09 11:25:53 -04:00
|
|
|
- '.html'
|
|
|
|
- '.html.raw'
|
2018-05-28 04:54:38 -04:00
|
|
|
import/resolver:
|
|
|
|
webpack:
|
2018-10-09 11:25:53 -04:00
|
|
|
config: './config/webpack.config.js'
|
2018-05-28 04:54:38 -04:00
|
|
|
rules:
|
|
|
|
filenames/match-regex:
|
|
|
|
- error
|
2018-10-09 11:25:53 -04:00
|
|
|
- '^[a-z0-9_]+$'
|
2018-05-28 04:54:38 -04:00
|
|
|
import/no-commonjs: error
|
|
|
|
promise/catch-or-return: error
|
2018-08-27 10:21:02 -04:00
|
|
|
no-param-reassign:
|
|
|
|
- error
|
|
|
|
- props: true
|
|
|
|
ignorePropertyModificationsFor:
|
2018-10-09 11:25:53 -04:00
|
|
|
- 'acc' # for reduce accumulators
|
|
|
|
- 'accumulator' # for reduce accumulators
|
|
|
|
- 'el' # for DOM elements
|
|
|
|
- 'element' # for DOM elements
|
|
|
|
- 'state' # for Vuex mutations
|
2018-05-28 04:54:38 -04:00
|
|
|
no-underscore-dangle:
|
|
|
|
- error
|
|
|
|
- allow:
|
2018-10-09 11:25:53 -04:00
|
|
|
- __
|
|
|
|
- _links
|
2018-05-28 05:21:43 -04:00
|
|
|
no-mixed-operators: off
|
2018-05-28 04:54:38 -04:00
|
|
|
vue/html-self-closing:
|
|
|
|
- error
|
|
|
|
- html:
|
|
|
|
void: always
|
|
|
|
normal: never
|
|
|
|
component: always
|
|
|
|
svg: always
|
|
|
|
math: always
|
2018-09-19 18:42:20 -04:00
|
|
|
camelcase:
|
|
|
|
- error
|
|
|
|
- properties: never
|
|
|
|
ignoreDestructuring: true
|
|
|
|
# Disabled for now, to make the airbnb-base 12.1.0 -> 13.1.0 update smoother
|
|
|
|
no-else-return:
|
|
|
|
- error
|
|
|
|
- allowElseIf: true
|
|
|
|
import/no-useless-path-segments: off
|
|
|
|
lines-between-class-members: off
|
2018-09-20 02:13:50 -04:00
|
|
|
# Disabled for now, to make the plugin-vue 4.5 -> 5.0 update smoother
|
|
|
|
vue/html-closing-bracket-newline: off
|
|
|
|
vue/html-closing-bracket-spacing: off
|
|
|
|
vue/no-confusing-v-for-v-if: error
|
|
|
|
vue/no-unused-components: off
|
|
|
|
vue/no-use-v-if-with-v-for: off
|
|
|
|
vue/no-v-html: off
|