Skip to content
This repository has been archived by the owner on May 26, 2019. It is now read-only.

Commit

Permalink
feat: update eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
ruanyf committed Jan 7, 2017
1 parent 25a094e commit f5f7251
Show file tree
Hide file tree
Showing 5 changed files with 125 additions and 75 deletions.
8 changes: 6 additions & 2 deletions .eslintrc
Expand Up @@ -5,8 +5,12 @@
"browser": true,
"node": true
},
"ecmaFeatures": {
"jsx": true
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module",
"ecmaFeatures": {
"jsx": true
}
},
"globals": {
"window": true,
Expand Down
5 changes: 2 additions & 3 deletions .gitignore
Expand Up @@ -30,12 +30,11 @@ coverage
# node-waf configuration
.lock-wscript

# Compiled binary addons (http://nodejs.org/api/addons.html)
build/Release

# Dependency directory
# https://www.npmjs.org/doc/misc/npm-faq.html#should-i-check-my-node_modules-folder-into-git
node_modules

## building output directory
build

# OSX
Expand Down
2 changes: 1 addition & 1 deletion webpack.config.js
Expand Up @@ -17,7 +17,7 @@ module.exports = {
path.resolve(__dirname, 'app/main.jsx')
],
output: {
path: `${__dirname}/build`,
path: path.resolve(__dirname, 'build'),
publicPath: '/',
filename: './bundle.js'
},
Expand Down
2 changes: 1 addition & 1 deletion webpack.production.config.js
Expand Up @@ -10,7 +10,7 @@ module.exports = {
path.resolve(__dirname, 'app/main.jsx')
],
output: {
path: `${__dirname}/build`,
path: path.resolve(__dirname, 'build'),
publicPath: '/',
filename: './bundle.js'
},
Expand Down

0 comments on commit f5f7251

Please sign in to comment.