Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/rfs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2022-03-25 09:03:56 +0300
committerXhmikosR <xhmikosr@gmail.com>2022-03-25 09:04:51 +0300
commitce4257c3897faeaae40872f0b96dc7ed2254ac2b (patch)
tree5d52f6a43739822dc76d3ac5b3370875874e9bd1
parent3ea0f165864e1dce4f0aa36d546cf138cb1da18d (diff)
Remove no longer needed xo suppressions
-rw-r--r--package.json2
-rw-r--r--test/lib/result.js8
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) {