Skip to content

Instantly share code, notes, and snippets.

@plembo
Last active August 20, 2018 15:19
Show Gist options
  • Save plembo/b74217de272adfc941371bf7a646a0cd to your computer and use it in GitHub Desktop.
Save plembo/b74217de272adfc941371bf7a646a0cd to your computer and use it in GitHub Desktop.
ESLint for Atom on Linux

ESLint for Atom on Linux

ESLint is a linter for ECMAScript.

A basic configuration file, .eslintrc, that should be placed in the root of a project folder (this can be setup globally, but that could result in inacurrate linting when working with multiple versions of ES). The example configuration is for ES6.

{
    "extends": "eslint:recommended",
    "parserOptions": {
        "ecmaVersion": 6
    },
    "env": {
        "node": true,
        "browser": true,
        "es6": true
    }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment