* Fix spacing * Update webpacker gem to 3.5 * Add custom preact-compact config * Add babel-loader to resolve a weird issue * Add react-textarea-autocomplete * Move 2 dependencies into devDependencies * Add babel-eslint & eslint-plugin-babel * Refactor chat * Add fixed width to chat's channels * Add timestamp for chat * Fix long word issue * Add showTimestamp options to chat * Add profile image to chat * Make profile image in chat circle * Improve message send logic * Add proper user session handling for chat * Choose profile user image source for chat * Adjust user's text color * Fix lint
25 lines
447 B
JavaScript
25 lines
447 B
JavaScript
module.exports = {
|
|
parser: 'babel-eslint',
|
|
extends: ['airbnb', 'prettier'],
|
|
parserOptions: {
|
|
ecmaVersion: 2017,
|
|
},
|
|
settings: {
|
|
react: {
|
|
pragma: 'h',
|
|
},
|
|
},
|
|
env: {
|
|
jest: true,
|
|
browser: true,
|
|
},
|
|
plugins: ['import', 'babel'],
|
|
rules: {
|
|
'import/no-extraneous-dependencies': [
|
|
'error',
|
|
{
|
|
devDependencies: ['**/*.test.js', '**/*.test.jsx', '**/*.stories.jsx'],
|
|
},
|
|
],
|
|
},
|
|
};
|