Skip to content

Commit

Permalink
chore(release): 8.0.1 (#127)
Browse files Browse the repository at this point in the history
  • Loading branch information
evilebottnawi authored Feb 19, 2020
1 parent 65abc04 commit 0d51543
Show file tree
Hide file tree
Showing 9 changed files with 7,122 additions and 2,904 deletions.
24 changes: 21 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,15 @@ module.exports = {
extends: ["plugin:itgalaxy/module"],
// Exclude nested tests
excludedFiles: ["**/__tests__/**/*", "**/__mocks__/**/*", "**/*.md"],
files: ["src/**/*"]
files: ["src/**/*"],
rules: {
// Allow to use ES module syntax
// You should use babel if your node version is not supported ES syntax module, dynamic loading ES modules or other features
"node/no-unsupported-features/es-syntax": [
"error",
{ ignores: ["modules", "dynamicImport"] }
]
}
},

// Jest
Expand All @@ -21,6 +29,12 @@ module.exports = {
excludedFiles: ["**/*.md"],
files: ["**/__tests__/**/*", "**/__mocks__/**/*"],
rules: {
// Test can be written with using ES module syntax or CommonJS module syntax
"node/no-unsupported-features/es-syntax": [
"error",
{ ignores: ["modules", "dynamicImport"] }
],

// Allow to use `console` (example - `mocking`)
"no-console": "off"
}
Expand All @@ -37,10 +51,14 @@ module.exports = {
rules: {
"no-unused-vars": "off",
"no-console": "off",
"import/extensions": "off",
"import/no-unresolved": "off",
"node/no-unpublished-require": "off",
"node/no-unpublished-import": "off"
"node/no-unpublished-import": "off",
// Documentation files can contain ES module syntax and CommonJS module syntax
"node/no-unsupported-features/es-syntax": [
"error",
{ ignores: ["modules", "dynamicImport"] }
]
}
}
],
Expand Down
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,12 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

## [8.0.1](https://github.com/itgalaxy/generate-robotstxt/compare/v8.0.0...v8.0.1) (2020-02-19)

### Chore

* update deps

## [8.0.0](https://github.com/itgalaxy/generate-robotstxt/compare/v7.1.0...v8.0.0) (2019-07-03)

### Breaking change
Expand Down
2 changes: 1 addition & 1 deletion __tests__/standalone.test.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import path from "path";
import generateRobotstxt from "../src/standalone";
import generateRobotstxt from "../src/standalone.js";

const fixturesPath = path.join(__dirname, "fixtures");

Expand Down
2 changes: 1 addition & 1 deletion lint-staged.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"use strict";

module.exports = {
"*.{js,mjs,jsx}": [
"*.{js,cjs,mjs,jsx,ts,tsx}": [
"prettier --list-different",
"eslint --report-unused-disable-directives",
"git add"
Expand Down
Loading

0 comments on commit 0d51543

Please sign in to comment.