Skip to content

Commit

Permalink
Feat: eslint (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
so1ve authored Sep 13, 2020
1 parent 0ec6adc commit cad29cb
Show file tree
Hide file tree
Showing 4 changed files with 2,336 additions and 1,276 deletions.
15 changes: 15 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
module.exports = {
root: true,

env: {
node: true
},

parserOptions: {
parser: 'babel-eslint'
},

extends: [
'standard'
]
}
13 changes: 12 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"name": "artitalk",
"version": "2.4.2",
"scripts": {
"gulp": "gulp --config gulpfile.js"
"gulp": "gulp --config gulpfile.js",
"lint": "eslint src",
"lint:fix": "eslint src --fix"
},
"dependencies": {
"gulp": "^4.0.2",
Expand All @@ -11,5 +13,14 @@
"gulp-concat": "^2.6.1",
"gulp-rename": "^2.0.0",
"gulp-uglify-es": "^2.0.0"
},
"devDependencies": {
"babel-eslint": "^10.1.0",
"eslint": "^7.8.1",
"eslint-config-standard": "^14.1.1",
"eslint-plugin-import": "^2.22.0",
"eslint-plugin-node": "^11.1.0",
"eslint-plugin-promise": "^4.2.1",
"eslint-plugin-standard": "^4.0.1"
}
}
Loading

0 comments on commit cad29cb

Please sign in to comment.