Skip to content

Commit 499984c

Browse files
Ran Lint using Airbnb to update linting on files
2 parents f16e49a + b499259 commit 499984c

28 files changed

+1835
-814
lines changed

.eslintrc.js

Lines changed: 17 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,32 +1,34 @@
1+
/* eslint-disable max-len */
12
module.exports = {
23
root: true,
34

45
parserOptions: {
5-
parser: 'babel-eslint',
6-
sourceType: 'module'
6+
parser: '@babel/eslint-parser',
7+
sourceType: 'module',
78
},
89

910
env: {
10-
browser: true
11+
browser: true,
1112
},
1213

1314
extends: [
15+
// updated to Airbnb Style guide - Aug 2021
16+
'airbnb-base',
17+
1418
// https://github.com/vuejs/eslint-plugin-vue#priority-a-essential-error-prevention
1519
// consider switching to `plugin:vue/strongly-recommended` or `plugin:vue/recommended` for stricter rules.
16-
'plugin:vue/essential',
17-
'@vue/standard'
20+
// 'plugin:vue/essential',
21+
// '@vue/standard'
1822
],
1923

2024
// required to lint *.vue files
21-
plugins: [
22-
'vue'
23-
],
25+
plugins: ['vue'],
2426

2527
globals: {
26-
'ga': true, // Google Analytics
27-
'cordova': true,
28-
'__statics': true,
29-
'process': true
28+
ga: true, // Google Analytics
29+
cordova: true,
30+
__statics: true,
31+
process: true,
3032
},
3133

3234
// add your custom rules here
@@ -49,6 +51,6 @@ module.exports = {
4951
// allow console.log during development only
5052
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
5153
// allow debugger during development only
52-
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off'
53-
}
54-
}
54+
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
55+
},
56+
};

0 commit comments

Comments
 (0)