1.0.1 • Published 5 years ago
eslint-config-nexum v1.0.1
Linter
This block will deal with topics relevant to code-linting.
The goal of the repository is to define a standard configuration to use in the SetUp in future projects.
CONTENT
- Tools
- Examples
- Documentation:
- Installation
- Configuration
- Scripts (package.json)
- Packages: version
- User/ Developer/ Mantainers -Guide
- Issues
- New Issue
- Change Log
- Change Request
- Team, License
Tools
- typescript
- eslint
- react
- eslint-plugin-import
- eslint-import-resolver-typescript (evaluate)
Rules
Configurator
Rules Table
https://eslint.org/docs/rules/
Change Log
v1.x.x - October dd, YYYY
- {commit-id} {commit-comment}
v1.0.0 - October 10, 2019
Issues (not repository)
Import resolver
settings -> import/resolver in .eslintrc.js
and import in .ts / .tsx files
resolved with node: extension
How do you lint styled-components?
- https://spectrum.chat/styled-components/general/how-do-you-lint-styled-components~2553a70d-f7b8-40ac-b7ff-0dd202a05aa3
- https://github.com/styled-components/stylelint-processor-styled-components
Typescript package not installed
npm i typescript
"typescript": "^3.6.3"
Package eslint-plugin-jsx-a11y needed
The plugin "eslint-plugin-jsx-a11y" was referenced from the config file in ".eslintrc.js » eslint-config-airbnb » C:\Users\josem\Documents\chema_dev\entwicklung-intern\linter\node_modules\eslint-config-airbnb\rules\react-a11y.js".