Skip to content

Commit

Permalink
Add prettier + standard + eslint integration, remove onelint
Browse files Browse the repository at this point in the history
  • Loading branch information
papandreou committed Feb 6, 2018
1 parent 5a0bf89 commit eff613f
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
5 changes: 3 additions & 2 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,9 +1,10 @@
module.exports = {
extends: [
'onelint'
'pretty-standard'
],
plugins: ['import'],
plugins: ['prettier', 'import'],
rules: {
'prettier/prettier': 'error',
'import/no-extraneous-dependencies': [
'error', {
devDependencies: [ '**/test/**/*.js', '**/bootstrap-unexpected-markdown.js' ],
Expand Down
3 changes: 3 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"singleQuote": true
}
6 changes: 4 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@
"babel-preset-es2015-without-strict": "0.0.4",
"coveralls": "3.0.0",
"es5-shim": "4.5.9",
"eslint": "2.13.1",
"eslint-config-onelint": "1.2.0",
"eslint": "4.17.0",
"eslint-config-pretty-standard": "1.1.0",
"eslint-plugin-import": "1.16.0",
"eslint-plugin-prettier": "2.6.0",
"find-node-modules": "1.0.4",
"gh-pages": "1.1.0",
"istanbul": "0.4.5",
Expand All @@ -54,6 +55,7 @@
"node-version-check": "2.2.0",
"nyc": "10.3.2",
"offline-github-changelog": "1.1.2",
"prettier": "1.10.2",
"rollup": "0.51.8",
"rollup-plugin-commonjs": "8.2.6",
"rollup-plugin-node-globals": "1.1.0",
Expand Down

0 comments on commit eff613f

Please sign in to comment.