39 lines
578 B
JavaScript
39 lines
578 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parserOptions: {
|
|
parser: 'babel-eslint',
|
|
ecmaVersion: 8,
|
|
sourceType: 'module'
|
|
},
|
|
env: {
|
|
browser: true,
|
|
node: true
|
|
},
|
|
globals: {
|
|
jsdom: true,
|
|
Promise: true,
|
|
nw: true,
|
|
Vue: true,
|
|
Vuex: true,
|
|
VueRouter: true,
|
|
store: true,
|
|
router: true
|
|
},
|
|
plugins: [
|
|
'jest',
|
|
'vue'
|
|
],
|
|
extends: [
|
|
'eslint:recommended',
|
|
'plugin:jest/recommended',
|
|
'tjw-base',
|
|
'tjw-vue'
|
|
],
|
|
rules: {
|
|
'no-restricted-syntax': [
|
|
'error',
|
|
'Property[method="true"]'
|
|
]
|
|
}
|
|
};
|