NWJS_Hour_Tracking/.eslintrc.js
The Jared Wilcurt e64fe15a8f Simplify eslint
2019-10-29 11:55:40 -04:00

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"]'
]
}
};