Created
October 25, 2021 09:44
-
-
Save kcelsi/d94c48f9b141eca467cbbaf347edcdcc to your computer and use it in GitHub Desktop.
⚙️ Settings for repo
This file contains hidden or 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
node_modules | |
public |
This file contains hidden or 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
{ | |
"printWidth": 100, | |
"singleQuote": true | |
} |
This file contains hidden or 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
module.exports = { | |
extends: [ | |
'stylelint-config-airbnb', | |
'stylelint-config-prettier', | |
'stylelint-config-rational-order', | |
], | |
plugins: ['stylelint-order', 'stylelint-scss'], | |
rules: {}, | |
}; |
This file contains hidden or 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
module.exports = { | |
env: { | |
browser: true, | |
es2021: true, | |
}, | |
parser: '@typescript-eslint/parser', | |
extends: [ | |
'airbnb-base', | |
'prettier', | |
'plugin:prettier/recommended', | |
'eslint:recommended', | |
'plugin:react/recommended', | |
'plugin:@typescript-eslint/eslint-recommended', | |
'plugin:@typescript-eslint/recommended', | |
], | |
parserOptions: { | |
ecmaFeatures: { | |
jsx: true, | |
}, | |
ecmaVersion: 12, | |
sourceType: 'module', | |
}, | |
plugins: ['react', '@typescript-eslint'], | |
rules: { | |
'react/prop-types': 0, | |
'import/no-unresolved': 0, | |
'import/extensions': 0, | |
'prettier/prettier': ['error', { endOfLine: 'auto' }], | |
camelcase: 0, | |
'no-use-before-define': 'off', | |
'@typescript-eslint/no-use-before-define': ['error'], | |
'@typescript-eslint/no-explicit-any': 'warn', | |
'@typescript-eslint/ban-types': 'warn', | |
'@typescript-eslint/ban-ts-comment': 'warn', | |
'no-shadow': 'off', | |
'@typescript-eslint/no-shadow': 'off', | |
'import/order': [ | |
'error', | |
{ | |
groups: ['external', 'builtin', ['sibling', 'parent'], 'index', 'object'], | |
}, | |
], | |
'@typescript-eslint/no-unused-vars': 'error', | |
}, | |
settings: { | |
react: { | |
version: 'detect', | |
}, | |
}, | |
}; |
This file contains hidden or 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
install: | |
yarn | |
start: | |
yarn start | |
build: | |
yarn build | |
lint: | |
npx eslint . | |
stylelint: | |
npx stylelint 'src/*{.css,.scss}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment