-
-
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
35,364 additions
and
31,681 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,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 |
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-base/prettier"], | ||
plugins: ["babel"], | ||
env: { | ||
browser: true, | ||
jest: true, | ||
node: true | ||
node: true, | ||
}, | ||
settings: { | ||
"import/resolver": { | ||
|
@@ -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 not shown.
Binary file not shown.
Oops, something went wrong.