Revert "remove eclint"

This reverts commit ce0c50fbec.
This commit is contained in:
Paul Chavard 2020-12-11 14:20:53 +01:00
parent 02e7d57ac7
commit 90eb22fd0b
3 changed files with 814 additions and 32 deletions

View file

@ -3,5 +3,6 @@ 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

View file

@ -42,6 +42,7 @@
"devDependencies": {
"@2fd/graphdoc": "^2.4.0",
"babel-eslint": "^10.1.0",
"eclint": "^2.8.1",
"eslint": "^7.15.0",
"eslint-config-prettier": "^7.0.0",
"eslint-plugin-prettier": "^3.2.0",
@ -53,6 +54,7 @@
"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",

843
yarn.lock

File diff suppressed because it is too large Load diff