Skip to content
This repository was archived by the owner on Jan 16, 2018. It is now read-only.

Commit

Permalink
Merge pull request #417 from skatejs/396
Browse files Browse the repository at this point in the history
#396 - Move from eslint to semistandard
  • Loading branch information
treshugart authored Oct 12, 2016
2 parents 730c9b6 + aacd4ad commit e08dd8e
Show file tree
Hide file tree
Showing 9 changed files with 10 additions and 81 deletions.
3 changes: 1 addition & 2 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ insert_final_newline = true
[*.{js,py}]
charset = utf-8

# 4 space indentation
[*.js,*.json,{.eslintrc, .gulprc}]
[*.js,*.json]
indent_style = space
indent_size = 2
33 changes: 0 additions & 33 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion bin/sk-bundle
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/bin/sh
rm -rf dist/
rollup --config "$@" && rollup --config --min "$@" && webpack --config webpack.config.js
rollup --config "$@" && rollup --config --min "$@" && webpack --config webpack.config.js
1 change: 0 additions & 1 deletion bin/sk-init
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@ const initDir = path.join(__dirname, '..', 'init');
const files = [
// Base editor / git config.
'.editorconfig',
'.eslintrc',
'.gitignore',

// Tooling config.
Expand Down
2 changes: 1 addition & 1 deletion bin/sk-lint
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
eslint src/ --ext .js,.jsx --format 'node_modules/eslint-friendly-formatter'
semistandard
2 changes: 1 addition & 1 deletion bin/sk-tests
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
#!/bin/sh
karma start --single-run "$@"
sk-lint && karma start --single-run "$@"
3 changes: 1 addition & 2 deletions init/.editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ insert_final_newline = true
[*.{js,py}]
charset = utf-8

# 4 space indentation
[*.js,*.json,{.eslintrc, .gulprc}]
[*.js,*.json]
indent_style = space
indent_size = 2
33 changes: 0 additions & 33 deletions init/.eslintrc

This file was deleted.

12 changes: 5 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"main": "index.js",
"dependencies": {
"babel-core": "6.17.0",
"babel-eslint": "^7.0.0",
"babel-loader": "6.2.4",
"babel-plugin-add-module-exports": "0.2.1",
"babel-plugin-transform-class-properties": "^6.16.0",
Expand All @@ -15,13 +16,6 @@
"commitizen": "^2.8.2",
"css-loader": "0.25.0",
"cz-conventional-changelog": "1.2.0",
"eslint": "3.7.1",
"eslint-config-airbnb": "12.0.0",
"eslint-friendly-formatter": "^2.0.6",
"eslint-plugin-import": "2.0.1",
"eslint-plugin-jsx-a11y": "2.2.3",
"eslint-plugin-mocha": "4.6.0",
"eslint-plugin-react": "6.4.1",
"install": "0.8.1",
"karma": "1.3.0",
"karma-chai-plugins": "0.8.0",
Expand All @@ -46,6 +40,7 @@
"rollup-plugin-node-resolve": "2.0.0",
"rollup-plugin-uglify": "1.0.1",
"semantic-release": "^4.3.5",
"semistandard": "^9.0.0",
"style-loader": "0.13.1",
"webpack": "1.13.2",
"webpack-dev-server": "1.16.2"
Expand Down Expand Up @@ -82,5 +77,8 @@
"commitizen": {
"path": "./node_modules/cz-conventional-changelog"
}
},
"semistandard": {
"parser": "babel-eslint"
}
}

0 comments on commit e08dd8e

Please sign in to comment.