mirror of
https://github.com/scratchfoundation/scratch-www.git
synced 2024-11-22 07:08:02 -05:00
Restore JSON linting
This commit is contained in:
parent
590f505a61
commit
dba366815d
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