diff --git a/browser.js b/browser.js index 60bdf03..08ba375 100644 --- a/browser.js +++ b/browser.js @@ -3,6 +3,12 @@ module.exports = { extends: 'xo/browser', rules: { - indent: [2, 2, {SwitchCase: 1}] + indent: [ + 'error', + 2, + { + SwitchCase: 1 + } + ] } }; diff --git a/esnext.js b/esnext.js index fb0e1e6..149a96c 100644 --- a/esnext.js +++ b/esnext.js @@ -3,6 +3,12 @@ module.exports = { extends: 'xo/esnext', rules: { - indent: [2, 2, {SwitchCase: 1}] + indent: [ + 'error', + 2, + { + SwitchCase: 1 + } + ] } }; diff --git a/index.js b/index.js index f90ea7c..ec42025 100644 --- a/index.js +++ b/index.js @@ -3,6 +3,12 @@ module.exports = { extends: 'xo', rules: { - indent: [2, 2, {SwitchCase: 1}] + indent: [ + 'error', + 2, + { + SwitchCase: 1 + } + ] } }; diff --git a/package.json b/package.json index c1cd288..e13aaf0 100644 --- a/package.json +++ b/package.json @@ -21,16 +21,11 @@ "browser.js" ], "keywords": [ - "❤️", "space", "spaces", "eslintconfig", "xo", "xoxo", - "hugs", - "kisses", - "happy", - "happiness", "code", "quality", "style", diff --git a/readme.md b/readme.md index d9289e5..99fdf8e 100644 --- a/readme.md +++ b/readme.md @@ -58,8 +58,3 @@ And [`xo-space/browser`](browser.js) if you're in the browser: - [eslint-config-xo](https://github.com/xojs/eslint-config-xo) - ESLint shareable config for XO - [eslint-config-xo-react](https://github.com/xojs/eslint-config-xo-react) - ESLint shareable config for React to be used with the above - - -## License - -MIT © [Sindre Sorhus](https://sindresorhus.com)