NWJS_Hour_Tracking/.eslintrc.js

39 lines
578 B
JavaScript
Raw Normal View History

2019-07-08 07:32:03 -06:00
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',
2019-10-29 09:55:40 -06:00
'plugin:jest/recommended',
'tjw-base',
'tjw-vue'
2019-07-08 07:32:03 -06:00
],
rules: {
2019-10-29 09:55:40 -06:00
'no-restricted-syntax': [
2019-07-08 07:32:03 -06:00
'error',
2019-10-29 09:55:40 -06:00
'Property[method="true"]'
]
2019-07-08 07:32:03 -06:00
}
};