mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-26 17:16:11 -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 = {
|
||||
extends: ['scratch', 'scratch/node']
|
||||
extends: ['scratch', 'scratch/node'],
|
||||
plugins: ['json']
|
||||
};
|
||||
|
|
2
Makefile
2
Makefile
|
@ -55,7 +55,7 @@ test:
|
|||
@make tap
|
||||
|
||||
lint:
|
||||
$(ESLINT) . --ext .js,.jsx
|
||||
$(ESLINT) . --ext .js,.jsx,.json
|
||||
$(SASSLINT) ./src/*.scss
|
||||
$(SASSLINT) ./src/**/*.scss
|
||||
|
||||
|
|
|
@ -6,5 +6,6 @@ module.exports = {
|
|||
},
|
||||
globals: {
|
||||
process: true
|
||||
}
|
||||
},
|
||||
plugins: ['json']
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue