mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-29 18:46:20 -05:00
Restore JSON linting
This commit is contained in:
parent
53d3bb94dc
commit
0054424b9d
3 changed files with 5 additions and 3 deletions
|
@ -1,3 +1,4 @@
|
||||||
module.exports = {
|
module.exports = {
|
||||||
extends: ['scratch', 'scratch/node']
|
extends: ['scratch', 'scratch/node'],
|
||||||
|
plugins: ['json']
|
||||||
};
|
};
|
||||||
|
|
2
Makefile
2
Makefile
|
@ -55,7 +55,7 @@ test:
|
||||||
@make tap
|
@make tap
|
||||||
|
|
||||||
lint:
|
lint:
|
||||||
$(ESLINT) . --ext .js,.jsx
|
$(ESLINT) . --ext .js,.jsx,.json
|
||||||
$(SASSLINT) ./src/*.scss
|
$(SASSLINT) ./src/*.scss
|
||||||
$(SASSLINT) ./src/**/*.scss
|
$(SASSLINT) ./src/**/*.scss
|
||||||
|
|
||||||
|
|
|
@ -6,5 +6,6 @@ module.exports = {
|
||||||
},
|
},
|
||||||
globals: {
|
globals: {
|
||||||
process: true
|
process: true
|
||||||
}
|
},
|
||||||
|
plugins: ['json']
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue