add js and ts lints
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user