Coder Social home page Coder Social logo

thehaymaker / a11y-ts-eslint-starter Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 0.0 176 KB

a11y-inspired React, TypeScript, Eslint, eslint-jsx-a11y, react-axe template

HTML 16.84% CSS 9.13% TypeScript 73.35% JavaScript 0.68%
react typescript eslint a11y axe axe-core

a11y-ts-eslint-starter's Introduction

Starter Project utilizing CREATE-REACT-APP

Intention

  • Have a go-to starter template for new react projects
  • A11y-ready
  • Eslint configuration baked-in
  • Typescript config baked-in
  • Cut down on research and configuration when starting new projects

VSCode setting reference for speedy integration

{
  "editor.formatOnSave": true,
  "[javascript]": {
    "editor.formatOnSave": false
  },
  "[javascriptreact]": {
    "editor.formatOnSave": false
  },
  "[typescript]": {
    "editor.formatOnSave": false
  },
  "[typescriptreact]": {
    "editor.formatOnSave": false
  },
  "eslint.autoFixOnSave": true,
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "language": "typescript",
      "autoFix": true
    },
    {
      "language": "typescriptreact",
      "autoFix": true
    }
  ],
  "terminal.integrated.shell.windows": "C:\\Program Files\\Git\\bin\\bash.exe",
  "terminal.external.windowsExec": "C:\\windows\\System32\\bash.exe",
  "terminal.integrated.shellArgs.windows": ["-l"],
  "workbench.colorTheme": "Electron",
  "emmet.includeLanguages": {
    "javascript": "javascriptreact"
  },
  "editor.fontFamily": "'Dank Mono', Consolas, 'Courier New', monospace",
  "editor.fontLigatures": true,
  "window.zoomLevel": 2,
  "editor.tokenColorCustomizations": {
    "textMateRules": [
      {
        "scope": [
          //following will be in italic (=FlottFlott)
          "comment",
          "entity.name.type.class", //class names
          "keyword", //import, export, return…
          "constant", //String, Number, Boolean…, this, super
          "storage.modifier", //static keyword
          "storage.type.class.js", //class keyword
          "variable.parameter"
          // "entity.name.function"
        ],
        "settings": {
          "fontStyle": "Dank Mono italic"
        }
      },
      {
        "scope": [
          //following will be excluded from italics (VSCode has some defaults for italics)
          "invalid",
          "keyword.operator",
          "constant.numeric.css",
          "keyword.other.unit.px.css",
          "constant.numeric.decimal.js",
          "constant.numeric.json"
        ],
        "settings": {
          "fontStyle": "Dank Mono"
        }
      }
    ]
  },
  "editor.tabSize": 2,
  "prettier.eslintIntegration": true,
  "editor.cursorBlinking": "phase",
  "editor.cursorStyle": "line",
  "editor.multiCursorMergeOverlapping": false,
  "editor.multiCursorModifier": "ctrlCmd",
  "editor.cursorWidth": 2,
  "editor.minimap.renderCharacters": false,
  "editor.renderLineHighlight": "gutter",
  "files.trimFinalNewlines": true,
  "files.insertFinalNewline": true,
  "search.showLineNumbers": true,
  "emmet.triggerExpansionOnTab": true,
  "emmet.showSuggestionsAsSnippets": true,
  "editor.suggest.snippetsPreventQuickSuggestions": false,
  "git.path": "C:\\Program Files\\git\\cmd\\git.exe",
  "git.alwaysShowStagedChangesResourceGroup": true,
  "breadcrumbs.enabled": true,
  "explorer.confirmDelete": false,
  "editor.wordWrap": "on",
  "workbench.iconTheme": "material-icon-theme"
}

a11y-ts-eslint-starter's People

Contributors

thehaymaker avatar

Stargazers

 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.