From ce4257c3897faeaae40872f0b96dc7ed2254ac2b Mon Sep 17 00:00:00 2001 From: XhmikosR Date: Fri, 25 Mar 2022 08:03:56 +0200 Subject: Remove no longer needed xo suppressions --- package.json | 2 -- test/lib/result.js | 8 ++------ 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 71d2641..20699cb 100644 --- a/package.json +++ b/package.json @@ -90,7 +90,6 @@ "space": true, "rules": { "arrow-body-style": "off", - "ava/no-import-test-files": "off", "comma-dangle": [ "error", "never" @@ -105,7 +104,6 @@ "after" ], "prefer-template": "error", - "promise/prefer-await-to-then": "off", "unicorn/prefer-module": "off", "unicorn/prevent-abbreviations": "off" } diff --git a/test/lib/result.js b/test/lib/result.js index e58a727..0fddc00 100644 --- a/test/lib/result.js +++ b/test/lib/result.js @@ -50,9 +50,7 @@ module.exports = { return less.render(getFileContent('less', id, 'less'), { paths: [path.join(__dirname, '../less')], syncImport: true - }).then(result => { - return format(result.css); - }); + }).then(result => format(result.css)); }, // Return parsed css @@ -60,9 +58,7 @@ module.exports = { return less3.render(getFileContent('less', id, 'less'), { paths: [path.join(__dirname, '../less')], syncImport: true - }).then(result => { - return format(result.css); - }); + }).then(result => format(result.css)); }, stylus(id) { -- cgit v1.2.3