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>2021-09-07 15:51:19 +0300
committerXhmikosR <xhmikosr@gmail.com>2021-09-07 15:51:19 +0300
commitfe9e9f53c342fbd153a37772106f8c17476a8344 (patch)
treeeb046f7f8f79688682787d34ea684234804eef36
parent0d382e159ebb4c033ce04475b569f1c335b65604 (diff)
Fix `import/extensions` issues
-rw-r--r--examples/postcss/gulpfile.js2
-rw-r--r--examples/postcss/index.js2
-rw-r--r--package.json1
-rw-r--r--test/lib/result.js2
4 files changed, 3 insertions, 4 deletions
diff --git a/examples/postcss/gulpfile.js b/examples/postcss/gulpfile.js
index 62bbc88..cd58c3e 100644
--- a/examples/postcss/gulpfile.js
+++ b/examples/postcss/gulpfile.js
@@ -2,7 +2,7 @@
const gulp = require('gulp');
const postcss = require('gulp-postcss');
-const rfs = require('../../postcss');
+const rfs = require('../../postcss.js');
const options = {
twoDimensional: false,
diff --git a/examples/postcss/index.js b/examples/postcss/index.js
index f005f6a..b5c9bbe 100644
--- a/examples/postcss/index.js
+++ b/examples/postcss/index.js
@@ -3,7 +3,7 @@
const fs = require('fs');
const path = require('path');
const postcss = require('postcss');
-const rfs = require('../../postcss');
+const rfs = require('../../postcss.js');
const css = fs.readFileSync(path.join(__dirname, '/src/main.css'), 'utf8');
const options = {
diff --git a/package.json b/package.json
index 78c733d..ede01be 100644
--- a/package.json
+++ b/package.json
@@ -94,7 +94,6 @@
"error",
"never"
],
- "import/extensions": "off",
"node/prefer-promises/fs": "off",
"operator-linebreak": [
"error",
diff --git a/test/lib/result.js b/test/lib/result.js
index e891b8f..cd41b45 100644
--- a/test/lib/result.js
+++ b/test/lib/result.js
@@ -12,7 +12,7 @@ const stylus = require('stylus');
// Postcss
const postcss = require('postcss');
-const rfs = require('../..');
+const rfs = require('../../postcss.js');
const postcssTests = require('../postcss/tests.js');
// Functions