Skip to content

Instantly share code, notes, and snippets.

@radjivF
Created January 4, 2018 02:56
Show Gist options
  • Select an option

  • Save radjivF/02bf6e9ac71d04ab3b1b0b5749b00ddc to your computer and use it in GitHub Desktop.

Select an option

Save radjivF/02bf6e9ac71d04ab3b1b0b5749b00ddc to your computer and use it in GitHub Desktop.

Revisions

  1. radjivF created this gist Jan 4, 2018.
    33 changes: 33 additions & 0 deletions my-linter
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,33 @@
    {
    "extends": [
    "eslint:recommended", "plugin:react/recommended", "airbnb"
    ],
    "parser": "babel-eslint",
    "env": {
    "browser": true,
    "node": true,
    "mocha": true
    },
    "plugins": [
    "react"
    ],
    "rules": {
    "quotes": [2, "single"],
    "no-console": 1,
    "no-empty": 1,
    "no-extra-semi": 1,
    "semi": [1,"never"],
    "no-alert": 1,
    "no-unused-vars": 0,
    "react/display-name": 0,
    "react/prop-types": 0,
    "react/no-multi-comp": 0,
    "comma-dangle": ["error", {
    "arrays": "never",
    "objects": "never",
    "imports": "never",
    "exports": "never",
    "functions": "ignore"
    }]
    }
    }