Revert "Revert "remove eclint""
This commit is contained in:
parent
0b459dfd2f
commit
4f1a1b24e0
3 changed files with 24 additions and 759 deletions
|
@ -3,6 +3,5 @@ task :lint do
|
|||
sh "bundle exec haml-lint app/views/"
|
||||
sh "bundle exec scss-lint app/assets/stylesheets/"
|
||||
sh "bundle exec brakeman --no-pager"
|
||||
sh "yarn lint:ec"
|
||||
sh "yarn lint:js"
|
||||
end
|
||||
|
|
|
@ -42,7 +42,6 @@
|
|||
"devDependencies": {
|
||||
"@2fd/graphdoc": "^2.4.0",
|
||||
"babel-eslint": "^10.1.0",
|
||||
"eclint": "^2.8.1",
|
||||
"eslint": "^7.0.0",
|
||||
"eslint-config-prettier": "^6.11.0",
|
||||
"eslint-plugin-prettier": "^3.1.3",
|
||||
|
@ -54,7 +53,6 @@
|
|||
"webpack-dev-server": "^3.11.0"
|
||||
},
|
||||
"scripts": {
|
||||
"lint:ec": "eclint check $({ git ls-files | grep -v app/graphql/schema.graphql ; find vendor -type f ; echo 'db/schema.rb' ; } | sort | uniq -u)",
|
||||
"lint:js": "eslint ./app/javascript ./app/assets/javascripts ./config/webpack",
|
||||
"webpack:build": "NODE_ENV=production bin/webpack",
|
||||
"graphql:docs:build": "graphdoc --force",
|
||||
|
|
Loading…
Reference in a new issue