mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-09-13 23:55:11 +00:00
Replace grunt-eslint with eslint
This commit is contained in:
@@ -13,9 +13,11 @@
|
||||
"test:unit": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/unit --recursive",
|
||||
"test:e2e": "NODE_ENV=test ./node_modules/mocha/bin/mocha tests/e2e --recursive",
|
||||
"test:lint": "grunt --env=test",
|
||||
"text:js": "eslint *.js js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json",
|
||||
"test:style": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json",
|
||||
"config:check": "node tests/configs/check_config.js",
|
||||
"lint": "grunt --env=lint",
|
||||
"lint:js": "eslint *.js js/**/*.js modules/default/**/*.js clientonly/*.js serveronly/*.js translations/*.js vendor/*.js tests/**/*.js config/* --config .eslintrc.json --fix",
|
||||
"lint:markdown": "markdownlint *.md modules/README.md modules/default/**/*.md --config .markdownlintrc.json",
|
||||
"lint:style": "stylelint css/main.css modules/default/**/*.css --config .stylelintrc.json --fix",
|
||||
"lint:yaml": "yamllint .travis.yml"
|
||||
@@ -44,8 +46,7 @@
|
||||
"chai-as-promised": "^7.1.1",
|
||||
"current-week-number": "^1.0.7",
|
||||
"danger": "^3.1.3",
|
||||
"grunt": "latest",
|
||||
"grunt-eslint": "latest",
|
||||
"eslint": "^6.8.0",
|
||||
"grunt-jsonlint": "latest",
|
||||
"http-auth": "^3.2.3",
|
||||
"jsdom": "^11.6.2",
|
||||
|
Reference in New Issue
Block a user