This commit is contained in:
Maxim Slipenko 2023-09-03 18:26:51 +03:00
commit 5431021bce
3 changed files with 80 additions and 0 deletions

30
.eslintrc.js Normal file
View File

@ -0,0 +1,30 @@
module.exports = {
env: {
browser: true,
es2021: true,
},
extends: ['airbnb', 'prettier'],
plugins: ['prettier'],
overrides: [
{
env: {
node: true,
},
files: ['.eslintrc.{js,cjs}'],
parserOptions: {
sourceType: 'script',
},
},
],
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
rules: {
'prettier/prettier': 'error',
'react/jsx-props-no-spreading': 'off',
'react/prop-types': 'off',
'no-unused-vars': 'warn',
'consistent-return': 'warn',
},
};

5
.prettierrc Normal file
View File

@ -0,0 +1,5 @@
{
"tabWidth": 2,
"singleQuote": true,
"printWidth": 60
}

45
package.json Normal file
View File

@ -0,0 +1,45 @@
{
"name": "quarkly-dev-env-template",
"version": "1.0.0",
"description": "",
"keywords": [],
"license": "ISC",
"dependencies": {},
"devDependencies": {
"eslint": "^8.45.0",
"eslint-config-airbnb": "^19.0.4",
"eslint-config-prettier": "^4.3.0",
"eslint-plugin-import": "^2.27.5",
"eslint-plugin-jsx-a11y": "^6.7.1",
"eslint-plugin-prettier": "^4.2.1",
"eslint-plugin-react": "^7.33.0",
"eslint-plugin-react-hooks": "^4.6.0"
},
"_baseDependencies": {
"gatsby": "^3.13.1",
"gatsby-image": "^3.11.0",
"gatsby-plugin-manifest": "^3.13.0",
"gatsby-plugin-offline": "^4.13.0",
"gatsby-plugin-react-helmet": "^4.13.0",
"gatsby-plugin-sharp": "^3.13.0",
"gatsby-plugin-resolve-src": "^2.1.0",
"gatsby-plugin-meta-redirect": "^1.1.1",
"gatsby-source-filesystem": "^3.13.0",
"gatsby-transformer-sharp": "^3.13.0",
"gatsby-plugin-styled-components": "^4.13.0",
"babel-plugin-styled-components": "^1.10.7",
"react-helmet": "^6.1.0",
"@gatsbyjs/reach-router": "^1.3.6",
"gatsby-react-router-scroll": "^4.13.0",
"gatsby-plugin-sitemap": "^4.1.0",
"react": "^17.0.2",
"react-dom": "^17.0.2",
"@quarkly/widgets": "0.2.75",
"@quarkly/components": "0.2.75",
"@quarkly/atomize": "1.0.20",
"styled-components": "^5.0.1",
"react-router-dom": "^5.1.2",
"react-router-hash-link": "^1.2.2",
"react-icons": "^3.9.0"
}
}