How to config ESLint for React on Atom Editor

To get Eslint working nicely with React.js: Install linter & linter-eslint plugins Run npm install eslint-plugin-react Add “plugins”: [“react”] to your .eslintrc config file Add “ecmaFeatures”: {“jsx”: true} to your .eslintrc config file Here is an example of a .eslintrc config file: { “env”: { “browser”: true, “node”: true }, “globals”: { “React”: true }, … Read more

How to share/transfer an Atom installation (packages and settings) from one Mac to another?

There are several ways to synchronize your settings and packages between Atom installations: Git: Create a public or private Git repo and store the contents of your local ~/.atom folder in there. Ignore the following files/directories in a .gitignore file: storage compile-cache dev .npm .node-gyp Use a package like sync-settings. This will store your configuration … Read more

How to upgrade Atom Editor on Linux?

I created the following script to update my atom on Ubuntu 14.10. #!/bin/bash # Update atom from downloaded deb file rm -f /tmp/atom.deb curl -L https://atom.io/download/deb > /tmp/atom.deb dpkg –install /tmp/atom.deb echo “***** apm upgrade – to ensure we update all apm packages *****” apm upgrade –confirm false exit 0 The file atom_update is executable … Read more

How to uninstall Atom text editor on Linux?

I have posted the same question in the Github Project Repository and this is the complete answer: https://github.com/atom/atom/issues/2195#issuecomment-42917489 The commands to execute are: sudo rm /usr/local/bin/atom sudo rm /usr/local/bin/apm rm -rf ~/atom rm -rf ~/.atom rm -rf ~/.config/Atom-Shell sudo rm -rf /usr/local/share/atom/

Split Screen in Atom Editor

Using the command palette Open the command palette with cmd + shift + p (OSX) or ctrl + shift + p (Linux/Windows) and type “split”. You’ll see options for Up, Down, Left, and Right split. Using keyboard shortcuts Split the current tab in a direction with the following shortcuts Up       cmd / ctrl + … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)