Skip to content

Commit 6fbf2ba

Browse files
committed
Added linting according to Airbnb JS
The commit adds rules for linting accoring to https://github.com/airbnb/javascript and reformates to code to adhere to these rules The linting can be run by npm run lint
1 parent 7f9c515 commit 6fbf2ba

28 files changed

+4696
-3172
lines changed
Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
{
2+
"env": {
3+
"browser": true,
4+
"es6": true,
5+
"node": true
6+
},
7+
"extends": [
8+
"eslint:recommended",
9+
"airbnb-base",
10+
"plugin:vue/essential"
11+
],
12+
"globals": {
13+
"Atomics": "readonly",
14+
"SharedArrayBuffer": "readonly"
15+
},
16+
"parserOptions": {
17+
"ecmaVersion": 2019,
18+
"sourceType": "module"
19+
},
20+
"plugins": [
21+
"vue"
22+
],
23+
"rules": {
24+
}
25+
}
Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module.exports = {
22
presets: [
3-
'@vue/app'
4-
]
5-
}
3+
'@vue/app',
4+
],
5+
};

0 commit comments

Comments
 (0)