-
Notifications
You must be signed in to change notification settings - Fork 301
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
109 additions
and
76 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8 changes: 0 additions & 8 deletions
8
packages/generator-electrode/generators/app/templates/.eslintrc
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
packages/generator-electrode/generators/app/templates/.eslintrc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
var path = require("path"); | ||
var archetype = require("electrode-archetype-react-app/config/archetype"); | ||
var archetypeEslint = path.join(archetype.config.eslint, ".eslintrc-react"); | ||
|
||
function dotify(p) { | ||
return path.isAbsolute(p) ? p : "." + path.sep + p; | ||
} | ||
|
||
module.exports = { | ||
extends: dotify(path.relative(__dirname, archetypeEslint)) | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
8 changes: 0 additions & 8 deletions
8
packages/generator-electrode/generators/app/templates/src/client/.eslintrc
This file was deleted.
Oops, something went wrong.
11 changes: 11 additions & 0 deletions
11
packages/generator-electrode/generators/app/templates/src/client/.eslintrc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
var path = require("path"); | ||
var archetype = require("electrode-archetype-react-app/config/archetype"); | ||
var archetypeEslint = path.join(archetype.config.eslint, ".eslintrc-react"); | ||
|
||
function dotify(p) { | ||
return path.isAbsolute(p) ? p : "." + path.sep + p; | ||
} | ||
|
||
module.exports = { | ||
extends: dotify(path.relative(__dirname, archetypeEslint)) | ||
}; |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
packages/generator-electrode/generators/app/templates/src/server/.eslintrc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
var path = require("path"); | ||
var archetype = require("electrode-archetype-react-app/config/archetype"); | ||
var archetypeEslint = path.join(archetype.config.eslint, ".eslintrc-node"); | ||
|
||
function dotify(p) { | ||
return path.isAbsolute(p) ? p : "." + path.sep + p; | ||
} | ||
|
||
module.exports = { | ||
extends: dotify(path.relative(__dirname, archetypeEslint)) | ||
}; |
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
packages/generator-electrode/generators/app/templates/test/client/.eslintrc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
var path = require("path"); | ||
var archetype = require("electrode-archetype-react-app/config/archetype"); | ||
var archetypeEslint = path.join(archetype.config.eslint, ".eslintrc-react-test"); | ||
|
||
function dotify(p) { | ||
return path.isAbsolute(p) ? p : "." + path.sep + p; | ||
} | ||
|
||
module.exports = { | ||
extends: dotify(path.relative(__dirname, archetypeEslint)) | ||
}; |
10 changes: 0 additions & 10 deletions
10
packages/generator-electrode/generators/app/templates/test/client/eslintrc
This file was deleted.
Oops, something went wrong.
File renamed without changes.
11 changes: 11 additions & 0 deletions
11
packages/generator-electrode/generators/app/templates/test/server/.eslintrc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
var path = require("path"); | ||
var archetype = require("electrode-archetype-react-app/config/archetype"); | ||
var archetypeEslint = path.join(archetype.config.eslint, ".eslintrc-mocha-test-es6"); | ||
|
||
function dotify(p) { | ||
return path.isAbsolute(p) ? p : "." + path.sep + p; | ||
} | ||
|
||
module.exports = { | ||
extends: dotify(path.relative(__dirname, archetypeEslint)) | ||
}; |
10 changes: 0 additions & 10 deletions
10
packages/generator-electrode/generators/app/templates/test/server/eslintrc
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters