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 committed Apr 9, 2023
1 parent 4805e1e commit c13c017
Show file tree
Hide file tree
Showing 1,039 changed files with 35,364 additions and 31,681 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
11 changes: 3 additions & 8 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,12 @@
# 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/*
content/*
**/node_modules/*
node_modules/*
public/*
static/*
!.gatsby
!.eslintrc.js
!.huskyrc.js
!.remarkrc.js
71 changes: 30 additions & 41 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-base/prettier"],
plugins: ["babel"],
env: {
browser: true,
jest: true,
node: true
node: true,
},
settings: {
"import/resolver": {
Expand All @@ -47,55 +39,52 @@ 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: {
/*
* Enable support for experimental features:
*
* - `babel/camelcase` - doesn't complain about optional chaining (`let foo = bar?.a_b;`).
* - `babel/no-unused-expressions` - doesn't fail when using `do` expressions or optional chaining (`a?.b()`).
* - `babel/camelcase` - doesn't complain about optional chaining (`let foo = bar?.a_b;`).
* - `babel/no-unused-expressions` - doesn't fail when using `do` expressions or optional chaining (`a?.b()`).
*/
camelcase: "off",
"babel/camelcase": "error",
"no-unused-expressions": "off",
"babel/no-unused-expressions": "error"
"babel/no-unused-expressions": "error",
},
overrides: [
{
files: ["*.jsx"],
rules: {
/*
* Defining multiple components per file is common when using CSS-in-JS, especially for scoped components
* that are only used once.
* Defining multiple components per file is common when using CSS-in-JS, especially for scoped components that are only used once.
*/
"react/no-multi-comp": "off",
/*
* Spreading props reduces prop cluttering and can prevent bugs due to transitive/implicit props not being
* passed to the target component
* 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",
},
},
{
/*
* Allow to use development dependencies in Gatsby configuration files since these are necessary and will
* be provided by either Gatsby itself or another without being explicitly defined as package dependency.
* Allow to use development dependencies in Gatsby configuration files since these are necessary and will be provided by either Gatsby itself or
* another without being explicitly defined as package dependency.
*/
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 c13c017

Please sign in to comment.