eslint-config-theme-next
Advanced tools
Comparing version 1.0.0 to 1.1.0
@@ -18,3 +18,3 @@ module.exports = { | ||
"dot-notation": 2, | ||
"eqeqeq": [2, "always", {"null": "ignore"}], | ||
"eqeqeq": [2, "smart"], | ||
"no-else-return": 2, | ||
@@ -29,3 +29,3 @@ "no-eval": 2, | ||
"no-loop-func": 2, | ||
"no-multi-spaces": 2, | ||
"no-multi-spaces": [2, {"exceptions": {"ImportDeclaration": true, "VariableDeclarator": true, "FunctionDeclarator": true, "AssignmentExpression": true, "CallExpression": true}}], | ||
"no-multi-str": 2, | ||
@@ -55,3 +55,3 @@ "no-new": 2, | ||
"no-undef-init": 2, | ||
"no-use-before-define": [2, "nofunc"], | ||
"no-use-before-define": 2, | ||
@@ -58,0 +58,0 @@ // Node.js and CommonJS |
{ | ||
"name": "eslint-config-theme-next", | ||
"version": "1.0.0", | ||
"version": "1.1.0", | ||
"description": "ESLint config for projects under theme NexT organization", | ||
@@ -25,4 +25,4 @@ "main": "index.js", | ||
"peerDependencies": { | ||
"eslint": "^3.0.0 || ^4.0.0" | ||
"eslint": "^3.0.0 || ^4.0.0 || ^5.0.0" | ||
} | ||
} |
@@ -15,3 +15,3 @@ # eslint-config-theme-next | ||
### Global Installation | ||
### Global Installation (recommended) | ||
@@ -32,3 +32,3 @@ ```bash | ||
In `.eslintrc.json` under needed repository: | ||
If file `.eslintrc.json` not exists under needed repository, then need to create it: | ||
@@ -42,2 +42,4 @@ ```json | ||
Then need to install ESLint plugin under your editor. For example, I use [Visual Studio Code](https://github.com/Microsoft/vscode/) with [ESLint](https://marketplace.visualstudio.com/items?itemName=dbaeumer.vscode-eslint) plugin installed. | ||
[npm-image]: https://badge.fury.io/js/eslint-config-theme-next.svg | ||
@@ -44,0 +46,0 @@ [size-image]: https://img.shields.io/github/size/theme-next/eslint-config-theme-next/index.js.svg |
6723
5
115
49