diff --git a/.travis.yml b/.travis.yml index 5312f57..0965998 100644 --- a/.travis.yml +++ b/.travis.yml @@ -2,7 +2,7 @@ sudo: false language: node_js node_js: - '8' - - '9' - '10' -install: npm i -g eslint eslint-plugin-json + - '12' +install: npm i -g eslint && npm i eslint-plugin-json test: npm test diff --git a/index.js b/index.js index fdaec0a..8e0f43d 100644 --- a/index.js +++ b/index.js @@ -147,6 +147,7 @@ module.exports = { 'prefer-template': 'error', 'quote-props': ['error', 'as-needed'], quotes: ['error', 'single', { allowTemplateLiterals: true }], + 'require-atomic-updates': 'off', 'rest-spread-spacing': 'error', semi: 'error', 'semi-spacing': 'error', diff --git a/package.json b/package.json index cc25ac1..234e415 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "eslint-config-amber", - "version": "2.0.0", + "version": "2.0.1", "description": "ESLint shareable config.", "main": "index.js", "scripts": { @@ -26,10 +26,10 @@ }, "homepage": "https://github.com/dragonfire535/eslint-config-amber#readme", "devDependencies": { - "eslint-plugin-json": "^1.2.1" + "eslint-plugin-json": "^2.0.1" }, "peerDependencies": { - "eslint": "^5.6.1" + "eslint": "^6.7.2" }, "eslintConfig": { "extends": "./index.js",