Skip to content

Commit

Permalink
nordtheme organization migration (#242)
Browse files Browse the repository at this point in the history
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
svengreb authored Apr 9, 2023
1 parent 4805e1e commit f3830c3
Show file tree
Hide file tree
Showing 1,039 changed files with 33,702 additions and 31,466 deletions.
195 changes: 0 additions & 195 deletions .circleci/config.yml

This file was deleted.

19 changes: 0 additions & 19 deletions .codecov.yml

This file was deleted.

23 changes: 14 additions & 9 deletions .editorconfig
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
8 changes: 2 additions & 6 deletions .eslintignore
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/*
Expand Down
56 changes: 24 additions & 32 deletions .eslintrc.js
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": {
Expand All @@ -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: {
/*
Expand All @@ -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: [
{
Expand All @@ -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",
},
},
{
/*
Expand All @@ -94,8 +86,8 @@ module.exports = {
*/
files: ["**/.gatsby/**/*.js"],
rules: {
"import/no-extraneous-dependencies": "off"
}
}
]
"import/no-extraneous-dependencies": "off",
},
},
],
};
Binary file modified .gatsby/.env.development
Binary file not shown.
Binary file modified .gatsby/.env.production
Binary file not shown.
Loading

0 comments on commit f3830c3

Please sign in to comment.