Skip to content

Instantly share code, notes, and snippets.

@Titiaiev
Last active November 10, 2019 16:52
Show Gist options
  • Save Titiaiev/717db9889f624619a11afa49b0427ff7 to your computer and use it in GitHub Desktop.
Save Titiaiev/717db9889f624619a11afa49b0427ff7 to your computer and use it in GitHub Desktop.
eslint config
{
"extends": [ "airbnb-base" ],
"parser": "babel-eslint",
"plugins": [],
"env": {
"amd": true,
"browser": true,
"jquery": true,
"node": true,
"es6": true,
"worker": true
},
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"rules": {
"no-underscore-dangle": "off",
"no-console": "off",
"consistent-return":"off",
"semi":"error",
"import/extensions": "off"
}
}
{
"name": "eslint",
"version": "1.0.0",
"description": "",
"main": "index.js",
"dependencies": {},
"devDependencies": {
"babel-eslint": "^10.0.1",
"eslint": "^5.11.0",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.14.0"
},
"scripts": {},
"author": "",
"license": "ISC"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment