diff --git a/.eslintignore b/.eslintignore new file mode 100644 index 00000000..dbaa9cd2 --- /dev/null +++ b/.eslintignore @@ -0,0 +1,13 @@ +# Copyright (C) 2018-present Arctic Ice Studio +# Copyright (C) 2018-present Sven Greb +# +# Project: Nord Docs +# Repository: https://github.com/arcticicestudio/nord-docs +# License: MIT + +.cache/* +build/* +content/* +**/node_modules/* +public/* +static/* diff --git a/.eslintrc.js b/.eslintrc.js new file mode 100644 index 00000000..3295eed7 --- /dev/null +++ b/.eslintrc.js @@ -0,0 +1,23 @@ +/* + * Copyright (C) 2018-present Arctic Ice Studio + * Copyright (C) 2018-present Sven Greb + * + * Project: Nord Docs + * Repository: https://github.com/arcticicestudio/nord-docs + * License: MIT + */ + +/** + * @file The ESLint configuration. + * @author Arctic Ice Studio + * @author Sven Greb + * @see https://github.com/babel/eslint-plugin-babel#rules + * @see https://github.com/tc39/proposal-optional-chaining + */ + +module.exports = { + env: { + browser: true, + node: true + } +};