add js and ts lints

This commit is contained in:
João Geonizeli
2021-08-04 16:16:10 -03:00
parent 8d089c0b7a
commit d623b653b2
20 changed files with 1129 additions and 108 deletions

View File

@@ -1,6 +1,6 @@
// Action Cable provides the framework to deal with WebSockets in Rails.
// You can generate new channels where WebSocket features live using the `bin/rails generate channel` command.
import { createConsumer } from "@rails/actioncable"
import { createConsumer } from "@rails/actioncable";
export default createConsumer()
export default createConsumer();

View File

@@ -1,5 +1,6 @@
// Load all the channels within this directory and all subdirectories.
// Channel files must be named *_channel.js.
const channels = require.context('.', true, /_channel\.js$/)
channels.keys().forEach(channels)
const channels = require.context(".", true, /_channel\.js$/);
channels.keys().forEach(channels);