Skip to content

Commit cd699db

Browse files
author
Ray Schamp
committed
Install and configure eslint-config-scratch
1 parent 7ac0491 commit cd699db

File tree

4 files changed

+9
-22
lines changed

4 files changed

+9
-22
lines changed

.eslintrc

-22
This file was deleted.

.eslintrc.js

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
module.exports = {
2+
extends: ['scratch', 'scratch/node']
3+
};

package.json

+1
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@
2626
"babel-loader": "^6.4.1",
2727
"babel-preset-es2015": "^6.24.1",
2828
"eslint": "^3.19.0",
29+
"eslint-config-scratch": "^3.1.0",
2930
"json": "^9.0.6",
3031
"minilog": "^3.0.1",
3132
"soundfont-player": "0.10.5",

src/.eslintrc.js

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
module.exports = {
2+
root: true,
3+
extends: ['scratch', 'scratch/es6'],
4+
env: {browser: true}
5+
};

0 commit comments

Comments
 (0)