Skip to content

Commit

Permalink
fix: Properly allow .eslintrc overrides and restore support for ES6 g…
Browse files Browse the repository at this point in the history
…lobals by default. (#40)
  • Loading branch information
misteroneill authored Sep 26, 2018
1 parent 6e00fa0 commit 560bcdb
Show file tree
Hide file tree
Showing 3 changed files with 63 additions and 79 deletions.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ if (config.jsdoc === false) {

const cli = new CLIEngine({
cwd: process.cwd(),
configFile: path.join(__dirname, 'eslintrc.json'),
baseConfig: require(path.join(__dirname, 'eslintrc.json')),
fix: Boolean(commander.format),
ignorePattern: config.ignore,
cache: true,
Expand Down
138 changes: 61 additions & 77 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"dependencies": {
"commander": "^2.17.1",
"eslint": "^5.4.0",
"eslint-config-videojs": "^5.0.1",
"eslint-config-videojs": "^5.0.2",
"eslint-plugin-jsdoc": "^3.7.1",
"eslint-plugin-json-light": "^1.0.3",
"eslint-plugin-markdown": "^1.0.0-beta.8",
Expand Down

0 comments on commit 560bcdb

Please sign in to comment.