mirror of
https://github.com/wintercms/winter.git
synced 2024-06-28 05:33:29 +02:00
Add linting command
This commit is contained in:
parent
b5d753da82
commit
c17fe627fa
@ -1,14 +0,0 @@
|
||||
# Ignore build files
|
||||
**/node_modules/**
|
||||
build/*.js
|
||||
**/build/*.js
|
||||
**/mix.webpack.js
|
||||
|
||||
# Ignore all JS except for Mix-based assets
|
||||
assets/js
|
||||
!assets/js/snowboard
|
||||
assets/ui
|
||||
assets/vendor
|
||||
|
||||
# Ignore test fixtures
|
||||
tests/js
|
@ -41,8 +41,11 @@
|
||||
"assets/js/lang",
|
||||
"assets/js/mailbrandsettings",
|
||||
"assets/js/updates",
|
||||
"assets/ui",
|
||||
"assets/ui/js",
|
||||
"assets/ui/vendor",
|
||||
"assets/ui/*.js",
|
||||
"assets/vendor",
|
||||
"tests/fixtures",
|
||||
"tests/js",
|
||||
"**/build/*.js"
|
||||
]
|
||||
|
@ -24,7 +24,8 @@
|
||||
},
|
||||
"homepage": "https://wintercms.com/",
|
||||
"scripts": {
|
||||
"test": "jest --config tests/js/jest.config.js tests/js/cases"
|
||||
"test": "jest --config tests/js/jest.config.js tests/js/cases",
|
||||
"lint": "eslint --ext .js,.vue --ignore-path .gitignore ."
|
||||
},
|
||||
"dependencies": {
|
||||
"@popperjs/core": "^2.11.4",
|
||||
|
Loading…
x
Reference in New Issue
Block a user