@pareto-engineering/eslint-config 0.0.0-alpha.0 → 3.0.0-alpha.17

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/index.js +10 -0
  2. package/package.json +10 -2
  3. package/schema.graphql +4534 -0
package/index.js CHANGED
@@ -1,8 +1,15 @@
1
1
  module.exports = {
2
+ parser :'@babel/eslint-parser',
2
3
  root :true,
3
4
  settings:{
4
5
  'import/resolver':{
5
6
  'babel-module':{},
7
+ // We are adding the settings below to make sure eslint is able to resolve
8
+ // .scss files when importing them in .js files.
9
+ node: {
10
+ extensions:['.scss'],
11
+ moduleDirectory: ['src', 'node_modules'],
12
+ },
6
13
  },
7
14
  },
8
15
  env:{
@@ -81,6 +88,9 @@ module.exports = {
81
88
  'import/no-cycle':[
82
89
  0,
83
90
  ],
91
+ 'import/extensions':[
92
+ 0,
93
+ ],
84
94
  camelcase:[
85
95
  0,
86
96
  ],
package/package.json CHANGED
@@ -1,11 +1,19 @@
1
1
  {
2
2
  "name": "@pareto-engineering/eslint-config",
3
- "version": "0.0.0-alpha.0",
3
+ "version": "3.0.0-alpha.17",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "author": "",
7
7
  "license": "ISC",
8
8
  "dependencies": {
9
- "@graphql-eslint/eslint-plugin": "^3.16.0"
9
+ "@babel/eslint-parser": "^7.19.1",
10
+ "@graphql-eslint/eslint-plugin": "^3.16.0",
11
+ "eslint": "^8.34.0",
12
+ "eslint-config-airbnb": "^19.0.4",
13
+ "eslint-import-resolver-babel-module": "^5.3.2",
14
+ "eslint-plugin-import": "^2.27.5",
15
+ "eslint-plugin-jsx-a11y": "^6.7.1",
16
+ "eslint-plugin-react": "^7.32.2",
17
+ "eslint-plugin-react-hooks": "^4.6.0"
10
18
  }
11
19
  }