Skip to content

Commit 7aabfa7

Browse files
committed
(add) eslint config
1 parent a0f0cf1 commit 7aabfa7

File tree

2 files changed

+14
-0
lines changed

2 files changed

+14
-0
lines changed

.eslintrc

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
{
2+
"extends": "airbnb",
3+
"env": {
4+
"browser": true
5+
},
6+
"rules": {
7+
"no-undef": 0,
8+
"no-return-assign": 0,
9+
"quotes": 0
10+
}
11+
}

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,9 @@
1919
"homepage": "https://github.com/davidcsally/davidcsally.github.io#readme",
2020
"devDependencies": {
2121
"babel-loader": "^7.1.4",
22+
"eslint": "^4.19.1",
23+
"eslint-config-airbnb-base": "^12.1.0",
24+
"eslint-plugin-import": "^2.10.0",
2225
"uglifyjs-webpack-plugin": "^1.2.4",
2326
"webpack": "^4.4.1",
2427
"webpack-cli": "^2.0.13"

0 commit comments

Comments
 (0)