Skip to content
This repository has been archived by the owner on Dec 1, 2017. It is now read-only.

Commit

Permalink
Added eslint checks for css module usage
Browse files Browse the repository at this point in the history
  • Loading branch information
swernerx committed Apr 20, 2017
1 parent c98d7d3 commit e0e03a9
Show file tree
Hide file tree
Showing 4 changed files with 16 additions and 2 deletions.
1 change: 1 addition & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
extends:
- ./eslint/basics.yml
- ./eslint/compat.yml
- ./eslint/cssmodules.yml
- ./eslint/filenames.yml
- ./eslint/flowtype.yml
- ./eslint/import.yml
Expand Down
5 changes: 5 additions & 0 deletions eslint/cssmodules.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
plugins:
- css-modules

extends:
- plugin:css-modules/recommended
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
"eslint-import-resolver-babel-module": "^3.0.0",
"eslint-plugin-babel": "^4.1.1",
"eslint-plugin-compat": "^1.0.2",
"eslint-plugin-css-modules": "^2.7.1",
"eslint-plugin-filenames": "^1.2.0",
"eslint-plugin-flowtype": "^2.32.1",
"eslint-plugin-flowtype-errors": "^3.0.3",
Expand Down
11 changes: 9 additions & 2 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1411,8 +1411,8 @@ editorconfig@^0.13.2:
sigmund "^1.0.1"

electron-to-chromium@^1.2.3, electron-to-chromium@^1.2.7:
version "1.3.4"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.4.tgz#e51769c0cf550e0cf5aedf6aa2b803a264b3a900"
version "1.3.5"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.3.5.tgz#6cd6ff2106224a6130e235f21050f9546bc3e729"

elegant-spinner@^1.0.1:
version "1.0.1"
Expand Down Expand Up @@ -1576,6 +1576,13 @@ eslint-plugin-compat@^1.0.2:
caniuse-db "1.0.30000626"
requireindex "^1.1.0"

eslint-plugin-css-modules@^2.7.1:
version "2.7.1"
resolved "https://registry.yarnpkg.com/eslint-plugin-css-modules/-/eslint-plugin-css-modules-2.7.1.tgz#d8dc77b59aa3762ff7992ec57372468a7e8c6722"
dependencies:
gonzales-pe "^4.0.3"
lodash "^4.17.2"

eslint-plugin-filenames@^1.2.0:
version "1.2.0"
resolved "https://registry.yarnpkg.com/eslint-plugin-filenames/-/eslint-plugin-filenames-1.2.0.tgz#aee9c1c90189c95d2e49902c160eceefecd99f53"
Expand Down

0 comments on commit e0e03a9

Please sign in to comment.