Running ESLint on wallscreens bundle exec rake eslint produces a number of warnings that should be addressed or the violated rule should be set to off in .eslint.yml
As an example (there are more warnings in other files):
/Users/corylown/workspace/wallscreens/js/controllers/more-info.js
1:28 warning Unexpected use of file extension "js" for "/js/stimulus.js" import/extensions
1:28 warning Do not import modules using an absolute path import/no-absolute-path
1:28 warning Unable to resolve path to module '/js/stimulus.js' import/no-unresolved
8:3 warning Expected 'this' to be used by class method 'connect' class-methods-use-this
Running ESLint on wallscreens
bundle exec rake eslint
produces a number of warnings that should be addressed or the violated rule should be set tooff
in.eslint.yml
As an example (there are more warnings in other files):
Full list of rules currently set to
warn
: