Skip to content

Commit

Permalink
Updating eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan committed Apr 20, 2021
1 parent 7bd15c7 commit 40509f6
Show file tree
Hide file tree
Showing 8 changed files with 8,659 additions and 13,035 deletions.
2 changes: 1 addition & 1 deletion docs/content/packages/react.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ can pass it either via the `icon` prop, or as the only child:
<Octicon><Icon x={10}/></Octicon>
```

[octicons]: https://octicons.github.com/
[octicons]: https://primer.style/octicons/
[primer]: https://github.com/primer/primer
[docs]: http://primercss.io/
[npm]: https://www.npmjs.com/
Expand Down
2 changes: 1 addition & 1 deletion lib/octicons_node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@primer/octicons",
"version": "13.0.0",
"description": "A scalable set of icons handcrafted with <3 by GitHub.",
"homepage": "https://octicons.github.com",
"homepage": "https://primer.style/octicons",
"author": "GitHub Inc.",
"license": "MIT",
"style": "index.scss",
Expand Down
2 changes: 1 addition & 1 deletion lib/octicons_react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@primer/octicons-react",
"version": "13.0.0",
"description": "A scalable set of icons handcrafted with <3 by GitHub.",
"homepage": "https://octicons.github.com",
"homepage": "https://primer.style/octicons",
"author": "GitHub, Inc.",
"license": "MIT",
"main": "dist/index.umd.js",
Expand Down
22 changes: 20 additions & 2 deletions lib/octicons_styled/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,28 @@
{
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaFeatures": {
"jsx": true
}
},
"extends": [
"plugin:react/recommended",
"plugin:jsx-a11y/recommended",
"plugin:prettier/recommended",
"plugin:github/recommended",
"plugin:github/es6",
"plugin:github/react"
"plugin:github/browser"
],
"rules": {
"github/no-then": 0,
"import/named": 0,
"react/prop-types": 0
},
"env": {
"browser": true,
"commonjs": true,
"es6": true,
"jest": true,
"node": true
},
"settings": {
"react": {
Expand Down
Loading

0 comments on commit 40509f6

Please sign in to comment.