Skip to content

Commit eff613f

Browse files
committed
Add prettier + standard + eslint integration, remove onelint
1 parent 5a0bf89 commit eff613f

File tree

3 files changed

+10
-4
lines changed

3 files changed

+10
-4
lines changed

.eslintrc.js

+3-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
module.exports = {
22
extends: [
3-
'onelint'
3+
'pretty-standard'
44
],
5-
plugins: ['import'],
5+
plugins: ['prettier', 'import'],
66
rules: {
7+
'prettier/prettier': 'error',
78
'import/no-extraneous-dependencies': [
89
'error', {
910
devDependencies: [ '**/test/**/*.js', '**/bootstrap-unexpected-markdown.js' ],

.prettierrc

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
{
2+
"singleQuote": true
3+
}

package.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@
3838
"babel-preset-es2015-without-strict": "0.0.4",
3939
"coveralls": "3.0.0",
4040
"es5-shim": "4.5.9",
41-
"eslint": "2.13.1",
42-
"eslint-config-onelint": "1.2.0",
41+
"eslint": "4.17.0",
42+
"eslint-config-pretty-standard": "1.1.0",
4343
"eslint-plugin-import": "1.16.0",
44+
"eslint-plugin-prettier": "2.6.0",
4445
"find-node-modules": "1.0.4",
4546
"gh-pages": "1.1.0",
4647
"istanbul": "0.4.5",
@@ -54,6 +55,7 @@
5455
"node-version-check": "2.2.0",
5556
"nyc": "10.3.2",
5657
"offline-github-changelog": "1.1.2",
58+
"prettier": "1.10.2",
5759
"rollup": "0.51.8",
5860
"rollup-plugin-commonjs": "8.2.6",
5961
"rollup-plugin-node-globals": "1.1.0",

0 commit comments

Comments
 (0)