-
Notifications
You must be signed in to change notification settings - Fork 339
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move
govuk-frontend
ESLint config to @govuk-frontend/eslint-config
Moves the `.eslintrc.js` file usit `git mv` to keep the history of the file. Adding back a `.eslintrc.js` file in the same commit to keep ESLint working would confuse Git, though. Instead, we can take advantage of the `.cjs` extension, which will be understood just as well by ESLint, but is a different file from Git's perspective.
- Loading branch information
1 parent
eb350a1
commit b076e6e
Showing
3 changed files
with
7 additions
and
3 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
const createConfig = require('@govuk-frontend/eslint-config/govuk-frontend.eslintrc.js') | ||
|
||
module.exports = createConfig(__dirname) |
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
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