-
-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
nordtheme
organization migration (#242)
As part of the "Northern Post - The state and roadmap of Nord" [1] announcement, this repository will be migrated to the `nordtheme` GitHub organization [2]. This issue is a task of the nordtheme/nord#185 [3] epic (tasklist [4]). [1]: https://github.com/orgs/nordtheme/discussions/183 [2]: https://github.com/nordtheme [3]: nordtheme/nord#185 [4]: https://docs.github.com/en/get-started/writing-qon-github/working-with-advanced-formatting/about-task-lists GH-241
- Loading branch information
Showing
1,039 changed files
with
33,702 additions
and
31,466 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,30 @@ | ||
# Copyright (C) 2018-present Arctic Ice Studio <[email protected]> | ||
# Copyright (C) 2018-present Sven Greb <[email protected]> | ||
# | ||
# Project: Nord Docs | ||
# Repository: https://github.com/arcticicestudio/nord-docs | ||
# License: MIT | ||
# Copyright (c) 2016-present Sven Greb <[email protected]> | ||
# This source code is licensed under the MIT license found in the license file. | ||
|
||
# Configurations for EditorConfig. | ||
# See https://editorconfig.org/#file-format-details for more details. | ||
|
||
# +--------------------+ | ||
# + Base Configuration + | ||
# +--------------------+ | ||
root = true | ||
|
||
[*] | ||
charset = utf-8 | ||
end_of_line = lf | ||
indent_size = 2 | ||
indent_style = space | ||
insert_final_newline = true | ||
max_line_length = 120 | ||
max_line_length = 160 | ||
trim_trailing_whitespace = true | ||
|
||
# +-----------+ | ||
# + Languages + | ||
# +-----------+ | ||
# +--- Markdown/MDX ---+ | ||
[*.{md,mdx}] | ||
# +--- Markdown ---+ | ||
[*.{md}] | ||
max_line_length = off | ||
trim_trailing_whitespace = false | ||
# +--- MDX ---+ | ||
[*.{mdx}] | ||
max_line_length = off |
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 |
---|---|---|
@@ -1,9 +1,5 @@ | ||
# Copyright (C) 2018-present Arctic Ice Studio <[email protected]> | ||
# Copyright (C) 2018-present Sven Greb <[email protected]> | ||
# | ||
# Project: Nord Docs | ||
# Repository: https://github.com/arcticicestudio/nord-docs | ||
# License: MIT | ||
# Copyright (c) 2016-present Sven Greb <[email protected]> | ||
# This source code is licensed under the MIT license found in the license file. | ||
|
||
.cache/* | ||
build/* | ||
|
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 |
---|---|---|
@@ -1,35 +1,27 @@ | ||
/* | ||
* Copyright (C) 2018-present Arctic Ice Studio <[email protected]> | ||
* Copyright (C) 2018-present Sven Greb <[email protected]> | ||
* | ||
* Project: Nord Docs | ||
* Repository: https://github.com/arcticicestudio/nord-docs | ||
* License: MIT | ||
* Copyright (c) 2016-present Sven Greb <[email protected]> | ||
* This source code is licensed under the MIT license found in the license file. | ||
*/ | ||
|
||
const { resolve } = require("path"); | ||
|
||
/** | ||
* @file The ESLint configuration. | ||
* @author Arctic Ice Studio <[email protected]> | ||
* @author Sven Greb <[email protected]> | ||
* Configurations for ESLint. | ||
* @see https://eslint.org/docs/latest/use/configure | ||
* @see https://eslint.org/docs/latest/use/configure/#using-configuration-files | ||
* @see https://eslint.org/docs/latest/use/configure/#specifying-environments | ||
* @see https://eslint.org/docs/latest/rules | ||
* @see https://github.com/babel/eslint-plugin-babel#rules | ||
* @see https://github.com/tc39/proposal-optional-chaining | ||
* @see https://eslint.org/docs/user-guide/configuring#specifying-environments | ||
*/ | ||
|
||
const { resolve } = require("path"); | ||
|
||
module.exports = { | ||
parser: "babel-eslint", | ||
extends: [ | ||
"@arcticicestudio/eslint-config", | ||
"@arcticicestudio/eslint-config/react-hooks", | ||
"@arcticicestudio/eslint-config/prettier" | ||
], | ||
extends: ["@arcticicestudio/eslint-config", "@arcticicestudio/eslint-config/react-hooks", "@arcticicestudio/eslint-config/prettier"], | ||
plugins: ["babel"], | ||
env: { | ||
browser: true, | ||
jest: true, | ||
node: true | ||
node: true, | ||
}, | ||
settings: { | ||
"import/resolver": { | ||
|
@@ -47,17 +39,17 @@ module.exports = { | |
["pages", resolve(__dirname, "src", "pages")], | ||
["styles", resolve(__dirname, "src", "styles")], | ||
["templates", resolve(__dirname, "src", "components", "templates")], | ||
["utils", resolve(__dirname, "src", "utils")] | ||
] | ||
["utils", resolve(__dirname, "src", "utils")], | ||
], | ||
}, | ||
jest: { | ||
jestConfigFile: resolve(__dirname, "jest.config.js") | ||
jestConfigFile: resolve(__dirname, "jest.config.js"), | ||
}, | ||
node: { | ||
/* Resolve Webpack alias imports */ | ||
paths: [resolve(__dirname, "src"), resolve(__dirname, "src", "components")] | ||
} | ||
} | ||
paths: [resolve(__dirname, "src"), resolve(__dirname, "src", "components")], | ||
}, | ||
}, | ||
}, | ||
rules: { | ||
/* | ||
|
@@ -69,7 +61,7 @@ module.exports = { | |
camelcase: "off", | ||
"babel/camelcase": "error", | ||
"no-unused-expressions": "off", | ||
"babel/no-unused-expressions": "error" | ||
"babel/no-unused-expressions": "error", | ||
}, | ||
overrides: [ | ||
{ | ||
|
@@ -84,8 +76,8 @@ module.exports = { | |
* Spreading props reduces prop cluttering and can prevent bugs due to transitive/implicit props not being | ||
* passed to the target component | ||
*/ | ||
"react/jsx-props-no-spreading": "off" | ||
} | ||
"react/jsx-props-no-spreading": "off", | ||
}, | ||
}, | ||
{ | ||
/* | ||
|
@@ -94,8 +86,8 @@ module.exports = { | |
*/ | ||
files: ["**/.gatsby/**/*.js"], | ||
rules: { | ||
"import/no-extraneous-dependencies": "off" | ||
} | ||
} | ||
] | ||
"import/no-extraneous-dependencies": "off", | ||
}, | ||
}, | ||
], | ||
}; |
Binary file not shown.
Binary file not shown.
Oops, something went wrong.